feat: localize token supply number (#18654)
This commit is contained in:
parent
278a6917f9
commit
74b29c0b6f
|
@ -118,8 +118,11 @@ function MintAccountCard({
|
|||
{info.mintAuthority === null ? "Fixed Supply" : "Current Supply"}
|
||||
</td>
|
||||
<td className="text-lg-right">
|
||||
{normalizeTokenAmount(info.supply, info.decimals).toFixed(
|
||||
info.decimals
|
||||
{normalizeTokenAmount(info.supply, info.decimals).toLocaleString(
|
||||
"en-US",
|
||||
{
|
||||
minimumFractionDigits: info.decimals,
|
||||
}
|
||||
)}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue