Skip to content

Commit

Permalink
Fix wallet balance loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Corantin committed Apr 20, 2022
1 parent 4714c6c commit f77b05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-app/src/components/wallet-balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function WalletBallance({ askedTokenAmount, setIsEnoughBalance }: Props)
}, [askedTokenAmount, tokenBalance, setIsEnoughBalance]);
return (
<WrapperStyled theme={currentTheme} isEnoughBalance={isEnoughBalance}>
{askedTokenAmount ? (
{askedTokenAmount?.token ? (
<AmountFieldInput
isLoading={!tokenBalance}
id={`balance-${tokenBalance?.token.symbol}`}
Expand Down

0 comments on commit f77b05e

Please sign in to comment.