Skip to content

Commit

Permalink
show 0 instead of nothing for 0 balance (#3319)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonator authored Jun 11, 2024
1 parent 68a2491 commit eee49af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/components/cl-deposit-input-group/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const DepositAmountGroup: FunctionComponent<{
enabled: !!account?.address,
select: (balances) =>
balances.find(({ denom }) => denom === currency?.coinMinimalDenom)
?.coin,
?.coin ?? (currency ? new CoinPretty(currency, 0) : undefined),
}
);

Expand Down

0 comments on commit eee49af

Please sign in to comment.