From ef287d6c3c7aa9de6649fcc81d0d78c542704daf Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 22 Oct 2024 18:33:00 +0100 Subject: [PATCH] fix whatever the fuck this bug was --- .../src/components/player/player-stats.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/projects/website/src/components/player/player-stats.tsx b/projects/website/src/components/player/player-stats.tsx index 2c953ff..250bac3 100644 --- a/projects/website/src/components/player/player-stats.tsx +++ b/projects/website/src/components/player/player-stats.tsx @@ -133,14 +133,18 @@ export default function PlayerStats({ player }: Props) { return
; } const { tooltip, value } = toRender; - const stat = ; + const stat = ; - return tooltip ? ( - - {stat} - - ) : ( - stat + return ( +
+ {tooltip ? ( + + {stat} + + ) : ( + stat + )} +
); })}