Skip to content

Commit

Permalink
fix: use formatCoin on available staking balance
Browse files Browse the repository at this point in the history
  • Loading branch information
burnt-sun committed Oct 22, 2024
1 parent 8857468 commit a04ed5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/staking/components/staking-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const StakingOverview = () => {
<div className={columnStyle}>
<Heading8>Available For Delegation (XION)</Heading8>
<Heading2 title={formatCoin(availableDelegation)}>
{formatToSmallDisplay(new BigNumber(availableDelegation.amount))}
{formatCoin(availableDelegation, undefined, true)}
</Heading2>
<BodyMedium>{formatXionToUSD(availableDelegation)}</BodyMedium>
</div>
Expand Down

0 comments on commit a04ed5d

Please sign in to comment.