From 14d7401a31a998566ee9d5a35bbd4034ca3f3f4c Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Sat, 29 Oct 2022 12:23:00 +0100 Subject: [PATCH] Fix global pos and local pos formatting --- src/components/PlayerStats.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/PlayerStats.js b/src/components/PlayerStats.js index 6b895a1..022aa6a 100644 --- a/src/components/PlayerStats.js +++ b/src/components/PlayerStats.js @@ -62,16 +62,16 @@ const PlayerStats = () => {

# {globalPos.toLocaleString("en-us", { - maximumFractionDigits: 2, - minimumFractionDigits: 2, + maximumFractionDigits: 0, + minimumFractionDigits: 0, })}

# {countryRank.toLocaleString("en-us", { - maximumFractionDigits: 2, - minimumFractionDigits: 2, + maximumFractionDigits: 0, + minimumFractionDigits: 0, })}