diff --git a/projects/website/src/components/score/badges/score-misses.tsx b/projects/website/src/components/score/badges/score-misses.tsx index b6ef722..722dfda 100644 --- a/projects/website/src/components/score/badges/score-misses.tsx +++ b/projects/website/src/components/score/badges/score-misses.tsx @@ -26,6 +26,7 @@ export default function ScoreMissesBadge({ score, hideXMark }: ScoreMissesBadgeP bombCuts: (scoreImprovement.misses.bombCuts + misses.bombCuts) * -1, wallsHit: (scoreImprovement.misses.wallsHit - misses.wallsHit) * -1, }; + const previousScoreFc = previousScoreMisses?.misses == 0; return (
FC
) : ( formatNumberWithCommas(previousScoreMisses.misses)