Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Making vCOW amount locale aware and with thousand sepator
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro committed Jan 11, 2022
1 parent 4206a67 commit f5a4d09
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/custom/pages/Profile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ export default function Profile() {
<ProfileFlexCol>
<Txt fs={14}>Balance</Txt>
<Txt fs={18} title={`${formatMax(vCowBalance)} vCOW`}>
<strong>{formatSmart(vCowBalance, AMOUNT_PRECISION) || '0'} vCOW</strong>
<strong>
{formatSmart(vCowBalance, AMOUNT_PRECISION, { thousandSeparator: true, isLocaleAware: true }) ||
'0'}{' '}
vCOW
</strong>
</Txt>
</ProfileFlexCol>
</VCOWBalance>
Expand Down

0 comments on commit f5a4d09

Please sign in to comment.