This commit is contained in:
parent
62ca4de74c
commit
df30a4ecf0
@ -87,12 +87,10 @@ const badges: ScoreBadge[] = [
|
|||||||
{
|
{
|
||||||
name: "Full Combo",
|
name: "Full Combo",
|
||||||
create: (score: ScoreSaberScoreToken) => {
|
create: (score: ScoreSaberScoreToken) => {
|
||||||
const fullCombo = score.missedNotes === 0;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<p>{fullCombo ? <span className="text-green-400">FC</span> : formatNumberWithCommas(score.missedNotes)}</p>
|
<p>{score.fullCombo ? <span className="text-green-400">FC</span> : formatNumberWithCommas(score.missedNotes + score.badCuts)}</p>
|
||||||
<XMarkIcon className={clsx("w-5 h-5", fullCombo ? "hidden" : "text-red-400")} />
|
<XMarkIcon className={clsx("w-5 h-5", score.fullCombo ? "hidden" : "text-red-400")} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user