fix leaderboard pp color
Some checks failed
Deploy Website / deploy (push) Has been cancelled

This commit is contained in:
Lee 2024-10-12 20:22:08 +01:00
parent 5cc3cca2d7
commit cb9bc2143c

View File

@ -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) {