This commit is contained in:
Matthias Kretschmann 2024-09-21 01:26:09 +01:00
parent 2c341fd25a
commit ca9a2c37f9
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -45,7 +45,7 @@ export function SwapResults({
const tokenSelected = tokenSymbol.toLowerCase() as keyof Prices
const amountInUsd = amount * prices[tokenSelected].usd
const amountInUsd = amount * prices[tokenSelected]?.usd
const amountToOcean = amountInUsd / prices.ocean.usd
const amountToAgix = amountInUsd / prices.agix.usd
const amountToCudos = amountInUsd / prices.cudos.usd