diff --git a/ui/selectors/selectors.js b/ui/selectors/selectors.js index fecc756be..a88b92797 100644 --- a/ui/selectors/selectors.js +++ b/ui/selectors/selectors.js @@ -764,9 +764,8 @@ export function getWeb3ShimUsageStateForOrigin(state, origin) { export function getSwapsDefaultToken(state) { const selectedAccount = getSelectedAccount(state); - const { balance } = selectedAccount; + const balance = selectedAccount?.balance; const chainId = getCurrentChainId(state); - const defaultTokenObject = SWAPS_CHAINID_DEFAULT_TOKEN_MAP[chainId]; return {