Skip to content

Commit 393ef42

Browse files
Fix zero balance
1 parent 6016da3 commit 393ef42

File tree

1 file changed

+3
-1
lines changed
  • packages/profile/src/components/inventory/token

1 file changed

+3
-1
lines changed

packages/profile/src/components/inventory/token/tokens.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ export function Tokens() {
4444
className="hover:opacity-80"
4545
>
4646
<div className="flex items-center gap-2">
47-
{token.balance ? formatBalance(token.balance) : "..."}
47+
{token.balance !== undefined
48+
? formatBalance(token.balance)
49+
: "..."}
4850
<span className="text-foreground-400">{token.symbol}</span>
4951
</div>
5052

0 commit comments

Comments
 (0)