diff --git a/features/strategies/components/Swap/Results.tsx b/features/strategies/components/Swap/Results.tsx index 0f28232..1446e86 100644 --- a/features/strategies/components/Swap/Results.tsx +++ b/features/strategies/components/Swap/Results.tsx @@ -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