diff --git a/src/components/Score.tsx b/src/components/Score.tsx index 114c4b0..b3804b7 100644 --- a/src/components/Score.tsx +++ b/src/components/Score.tsx @@ -2,6 +2,7 @@ import { ScoresaberLeaderboardInfo } from "@/schemas/scoresaber/leaderboard"; import { ScoresaberScore } from "@/schemas/scoresaber/score"; import { formatNumber } from "@/utils/number"; import { GlobeAsiaAustraliaIcon } from "@heroicons/react/20/solid"; +import clsx from "clsx"; import moment from "moment"; import Image from "next/image"; import ScoreStatLabel from "./ScoreStatLabel"; @@ -12,6 +13,8 @@ type ScoreProps = { }; export default function Score({ score, leaderboard }: ScoreProps) { + const isFullCombo = score.missedNotes + score.badCuts === 0; + return (
+
{value} + {icon}