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
- 0 ? "text-green-400" : "text-red-400"}`}
+ {player.ppChange != 0 && (
+
0 ? "text-green-400" : "text-red-400"}`} + > + {player.ppChange > 0 ? "+" : ""} + {formatPp(player.ppChange)}pp +
+ + )}