Skip to content

Commit

Permalink
fix: nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamParkhi committed Oct 7, 2024
1 parent 1fe0f55 commit 6271ea6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const TokenAndAmount: React.FC<ITokenAndAmount> = ({ quantity, setQuantity }) =>
const formattedBalance = useMemo(() => {
const balance = isNativeTransaction ? nativeBalance?.value : tokenBalance;
return !isUndefined(balance) ? getFormattedBalance(balance, sendingToken) : undefined;
}, [balanceAmount, sendingToken, isNativeTransaction, nativeBalance, tokenBalance]);
}, [sendingToken, isNativeTransaction, nativeBalance, tokenBalance]);

return (
<Container>
Expand Down

0 comments on commit 6271ea6

Please sign in to comment.