diff --git a/ui/hooks/useTokenFiatAmount.js b/ui/hooks/useTokenFiatAmount.js index 2728b2994781..486b8ba14fd6 100644 --- a/ui/hooks/useTokenFiatAmount.js +++ b/ui/hooks/useTokenFiatAmount.js @@ -67,8 +67,8 @@ export function useTokenFiatAmount( ); const tokenConversionRate = chainId - ? currencyRates[networkConfigurationsByChainId[chainId].nativeCurrency] - .conversionRate + ? currencyRates?.[networkConfigurationsByChainId[chainId]?.nativeCurrency] + ?.conversionRate : conversionRate; const currentCurrency = useSelector(getCurrentCurrency);