diff --git a/src/components/player/Score.tsx b/src/components/player/Score.tsx index 43b4553..c3fa9df 100644 --- a/src/components/player/Score.tsx +++ b/src/components/player/Score.tsx @@ -10,6 +10,7 @@ import { formatDate, formatTimeAgo } from "@/utils/timeUtils"; import { CheckIcon, GlobeAsiaAustraliaIcon, + StarIcon, XMarkIcon, } from "@heroicons/react/20/solid"; import clsx from "clsx"; @@ -27,6 +28,11 @@ export default function Score({ score, player, leaderboard }: ScoreProps) { const diffName = scoresaberDifficultyNumberToName( leaderboard.difficulty.difficulty, ); + const diffNameShort = scoresaberDifficultyNumberToName( + leaderboard.difficulty.difficulty, + true, + ); + const diffColor = songDifficultyToColor(diffName); return (
- {scoresaberDifficultyNumberToName( - leaderboard.difficulty.difficulty, - true, + {leaderboard.ranked ? ( +