Skip to content

Commit

Permalink
fix: show zero balance.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardo2016x committed May 7, 2024
1 parent f5d5db8 commit e844186
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/ui/views/Dashboard/components/BalanceView/BalanceView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,10 @@ const BalanceView = ({
{shouldShowBalanceLoading ? (
<Skeleton.Input active className="w-[200px] h-[38px] rounded" />
) : (
!!currentBalance && (
<BalanceLabel
// isCache={balanceFromCache}
balance={currentBalance}
/>
)
<BalanceLabel
// isCache={balanceFromCache}
balance={currentBalance || 0}
/>
)}
</div>
<div
Expand Down

0 comments on commit e844186

Please sign in to comment.