diff --git a/src/components/player/player-header.tsx b/src/components/player/player-header.tsx index 5567f50..e422052 100644 --- a/src/components/player/player-header.tsx +++ b/src/components/player/player-header.tsx @@ -33,14 +33,18 @@ const playerData = [ return (

{formatPp(player.pp)}pp

- The change in your pp compared to yesterday

}> -

0 ? "text-green-400" : "text-red-400"}`} + {player.ppChange != 0 && ( + The change in your pp compared to yesterday

} > - {player.ppChange > 0 ? "+" : ""} - {formatPp(player.ppChange)}pp -

-
+

0 ? "text-green-400" : "text-red-400"}`} + > + {player.ppChange > 0 ? "+" : ""} + {formatPp(player.ppChange)}pp +

+ + )}
); },