Fix pp formatting
This commit is contained in:
parent
a2da018644
commit
87af768a10
@ -433,7 +433,10 @@ export default class Overlay extends Component {
|
||||
<div className={styles.overlay}>
|
||||
{showPlayerStats && !loadingPlayerData ? (
|
||||
<PlayerStats
|
||||
pp={data.pp.toLocaleString()}
|
||||
pp={data.pp.toLocaleString("en-US", {
|
||||
maximumFractionDigits: 2,
|
||||
minimumFractionDigits: 2,
|
||||
})}
|
||||
globalPos={data.rank.toLocaleString()}
|
||||
country={data.country}
|
||||
countryRank={data.countryRank.toLocaleString()}
|
||||
|
Reference in New Issue
Block a user