format weekly rank change

This commit is contained in:
Lee 2024-10-14 20:37:14 +01:00
parent 383f41f9ca
commit 8133d18ca2

@ -55,7 +55,7 @@ export function PlayerRanking({ player, isCountry }: PlayerRankingProps) {
weeklyRankChange >= 0 ? weeklyRankChange != 0 && "text-green-500" : "text-red-500" weeklyRankChange >= 0 ? weeklyRankChange != 0 && "text-green-500" : "text-red-500"
)} )}
> >
{weeklyRankChange} {formatNumberWithCommas(weeklyRankChange)}
</td> </td>
</> </>
); );