From 8133d18ca24c83d6a26bb8ef137e24a89cf405ca Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 14 Oct 2024 20:37:14 +0100 Subject: [PATCH] format weekly rank change --- projects/website/src/components/ranking/player-ranking.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/website/src/components/ranking/player-ranking.tsx b/projects/website/src/components/ranking/player-ranking.tsx index c6594d5..b5448b5 100644 --- a/projects/website/src/components/ranking/player-ranking.tsx +++ b/projects/website/src/components/ranking/player-ranking.tsx @@ -55,7 +55,7 @@ export function PlayerRanking({ player, isCountry }: PlayerRankingProps) { weeklyRankChange >= 0 ? weeklyRankChange != 0 && "text-green-500" : "text-red-500" )} > - {weeklyRankChange} + {formatNumberWithCommas(weeklyRankChange)} );