From 6850e67e16d5868a3c2cfd6884d04f636d176e36 Mon Sep 17 00:00:00 2001 From: Rendy Arya Kemal Date: Fri, 8 Sep 2023 22:26:23 +0700 Subject: [PATCH] Rounding moment --- src/components/module/leaderboard/Leaderboard.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/module/leaderboard/Leaderboard.tsx b/src/components/module/leaderboard/Leaderboard.tsx index ab8d61e..3fd5d14 100644 --- a/src/components/module/leaderboard/Leaderboard.tsx +++ b/src/components/module/leaderboard/Leaderboard.tsx @@ -65,7 +65,7 @@ export default function Leaderboard({ isAdmin, className }: LeaderboardProps) {
{team.name} - {team.total_score} + {team.total_score.toFixed(2)}
@@ -80,13 +80,13 @@ export default function Leaderboard({ isAdmin, className }: LeaderboardProps) {
- {challScore.attack ?? 0} + {challScore.attack.toFixed(2) ?? 0} - {challScore.defense ?? 0} + {challScore.defense.toFixed(2) ?? 0}