Show par in chain length score line

This commit is contained in:
2026-03-14 19:56:30 -07:00
parent aa04afc65b
commit f3c703d414
+1 -1
View File
@@ -14,7 +14,7 @@ export default function ScoreDisplay({ score }: ScoreDisplayProps) {
<div className="mx-auto max-w-xs space-y-1.5 text-sm">
<ScoreLine label="Base score" value={score.baseScore} />
<ScoreLine
label={`Chain length (${score.linkCount} link${score.linkCount !== 1 ? 's' : ''})`}
label={`Chain length (${score.linkCount} link${score.linkCount !== 1 ? 's' : ''}${score.par ? `, par ${score.par}` : ''})`}
value={score.chainLengthBonus}
bonus
/>