Fix global pos and local pos formatting
This commit is contained in:
parent
d498d75b46
commit
14d7401a31
@ -62,16 +62,16 @@ const PlayerStats = () => {
|
|||||||
<p>
|
<p>
|
||||||
#
|
#
|
||||||
{globalPos.toLocaleString("en-us", {
|
{globalPos.toLocaleString("en-us", {
|
||||||
maximumFractionDigits: 2,
|
maximumFractionDigits: 0,
|
||||||
minimumFractionDigits: 2,
|
minimumFractionDigits: 0,
|
||||||
})}
|
})}
|
||||||
</p>
|
</p>
|
||||||
<div className={styles.playerCountry}>
|
<div className={styles.playerCountry}>
|
||||||
<p>
|
<p>
|
||||||
#
|
#
|
||||||
{countryRank.toLocaleString("en-us", {
|
{countryRank.toLocaleString("en-us", {
|
||||||
maximumFractionDigits: 2,
|
maximumFractionDigits: 0,
|
||||||
minimumFractionDigits: 2,
|
minimumFractionDigits: 0,
|
||||||
})}
|
})}
|
||||||
</p>
|
</p>
|
||||||
<ReactCountryFlag
|
<ReactCountryFlag
|
||||||
|
Reference in New Issue
Block a user