Skip to content

Commit

Permalink
fix: add missing visibility check
Browse files Browse the repository at this point in the history
  • Loading branch information
helciofranco committed Oct 9, 2024
1 parent 66f5c8d commit 3bcdce5
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@ export function BalanceWidget({
<Box.Flex>
{account.balance.isZero() ? (
<Text aria-hidden={visibility} data-account-name={account.name}>
{account.balanceSymbol || '$'}&nbsp;0
{account.balanceSymbol || '$'}&nbsp;
<AmountVisibility
value={account.balance}
visibility={visibility}
units={decimals}
/>
</Text>
) : (
<Tooltip
Expand Down

0 comments on commit 3bcdce5

Please sign in to comment.