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"}
|
{info.mintAuthority === null ? "Fixed Supply" : "Current Supply"}
|
||||||
</td>
|
</td>
|
||||||
<td className="text-lg-right">
|
<td className="text-lg-right">
|
||||||
{normalizeTokenAmount(info.supply, info.decimals).toFixed(
|
{normalizeTokenAmount(info.supply, info.decimals).toLocaleString(
|
||||||
info.decimals
|
"en-US",
|
||||||
|
{
|
||||||
|
minimumFractionDigits: info.decimals,
|
||||||
|
}
|
||||||
)}
|
)}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue