Fix global pos and local pos formatting

This commit is contained in:
Liam 2022-10-29 12:23:00 +01:00
parent d498d75b46
commit 14d7401a31

View File

@ -62,16 +62,16 @@ const PlayerStats = () => {
<p>
#
{globalPos.toLocaleString("en-us", {
maximumFractionDigits: 2,
minimumFractionDigits: 2,
maximumFractionDigits: 0,
minimumFractionDigits: 0,
})}
</p>
<div className={styles.playerCountry}>
<p>
#
{countryRank.toLocaleString("en-us", {
maximumFractionDigits: 2,
minimumFractionDigits: 2,
maximumFractionDigits: 0,
minimumFractionDigits: 0,
})}
</p>
<ReactCountryFlag