Skip to content

Commit

Permalink
show zero balance in transfer-input
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Sep 20, 2023
1 parent d2ee225 commit a2ca64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apps/src/components/transfer-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function TransferInput({
placeholder={
isTarget
? undefined
: balance && token
: balance !== undefined && token
? `Balance ${formatBalance(balance, token.decimals, { keepZero: false })}`
: "Enter an amount"
}
Expand Down

0 comments on commit a2ca64e

Please sign in to comment.