Show par in chain length score line
This commit is contained in:
@@ -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
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user