diff --git a/src/components/leaderboard/leaderboard-score.tsx b/src/components/leaderboard/leaderboard-score.tsx index 1fc0350..19bcc3b 100644 --- a/src/components/leaderboard/leaderboard-score.tsx +++ b/src/components/leaderboard/leaderboard-score.tsx @@ -1,5 +1,3 @@ -"use client"; - import ScoreSaberLeaderboardToken from "@/common/model/token/scoresaber/score-saber-leaderboard-token"; import ScoreSaberScoreToken from "@/common/model/token/scoresaber/score-saber-score-token"; import LeaderboardPlayer from "./leaderboard-player"; @@ -27,7 +25,7 @@ type Props = { export default function LeaderboardScore({ player, score, leaderboard }: Props) { return (
+ Weighted: {formatPp(weightedPp)}pp ({(100 * score.weight).toFixed(2)}%) +
+{formatPp(pp)}pp
+ + > + ); }, }, { diff --git a/src/components/stat-value.tsx b/src/components/stat-value.tsx index 66db5c2..c73bdd3 100644 --- a/src/components/stat-value.tsx +++ b/src/components/stat-value.tsx @@ -21,7 +21,7 @@ export default function StatValue({ name, color, value }: Props) { return (