From f3737ce7a52b91822a6df471b2906671206aaa7b Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 26 Oct 2024 18:44:57 +0100 Subject: [PATCH] format previous score --- projects/website/src/components/score/badges/score-score.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/website/src/components/score/badges/score-score.tsx b/projects/website/src/components/score/badges/score-score.tsx index 488036a..e0f014e 100644 --- a/projects/website/src/components/score/badges/score-score.tsx +++ b/projects/website/src/components/score/badges/score-score.tsx @@ -10,7 +10,7 @@ export function ScoreScoreBadge({ score }: ScoreBadgeProps) {

{formatNumberWithCommas(Number(score.score.toFixed(0)))}

{previousScore && previousScore.change && ( - Previous Score: {previousScore.score}

}> + Previous Score: {formatNumberWithCommas(previousScore.score)}

}>
)}