From cb9bc2143cbeae74be12b6cc54fbf2fa106f038a Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 12 Oct 2024 20:22:08 +0100 Subject: [PATCH] fix leaderboard pp color --- .../src/components/leaderboard/leaderboard-score-stats.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/website/src/components/leaderboard/leaderboard-score-stats.tsx b/projects/website/src/components/leaderboard/leaderboard-score-stats.tsx index 70751c2..160280c 100644 --- a/projects/website/src/components/leaderboard/leaderboard-score-stats.tsx +++ b/projects/website/src/components/leaderboard/leaderboard-score-stats.tsx @@ -10,6 +10,9 @@ import ScoreSaberLeaderboardToken from "@ssr/common/types/token/scoresaber/score const badges: ScoreBadge[] = [ { name: "PP", + color: () => { + return "bg-pp"; + }, create: (score: ScoreSaberScoreToken) => { const pp = score.pp; if (pp === 0) {