From 544e8505404fc187d957f549fc2b70d3260a6f62 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 11 Oct 2024 03:42:42 +0100 Subject: [PATCH] fix clicking global rank taking you to the wrong page and update url when clicking a player on the ranking page --- projects/website/src/components/player/player-header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/website/src/components/player/player-header.tsx b/projects/website/src/components/player/player-header.tsx index 51462d9..4caec2a 100644 --- a/projects/website/src/components/player/player-header.tsx +++ b/projects/website/src/components/player/player-header.tsx @@ -42,7 +42,7 @@ const playerData = [ const rankChange = statisticChange?.rank ?? 0; return ( - +

#{formatNumberWithCommas(player.rank)}

{rankChange != 0 && renderChange(rankChange,

The change in your rank compared to yesterday

)}