From 29dbeba95d7f9d5ffd95509e74d5b3ad5ba0545a Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Sat, 9 Apr 2022 18:55:52 -0500
Subject: Don't show redundant unit in leaderboard section

Also bump sveltekit version
---
 src/lib/sections/Leaderboards.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/sections/Leaderboards.svelte')

diff --git a/src/lib/sections/Leaderboards.svelte b/src/lib/sections/Leaderboards.svelte
index a0fa4dc..7cbea23 100644
--- a/src/lib/sections/Leaderboards.svelte
+++ b/src/lib/sections/Leaderboards.svelte
@@ -16,7 +16,7 @@
 				<a href="/leaderboard/{leaderboard.name}" class="leaderboard-item-anchor">
 					{leaderboard.positionIndex + 1}) <b>{cleanId(leaderboard.name)}</b>: {formatNumberFromUnit(
 						leaderboard.value,
-						leaderboard.unit ?? cleanId(leaderboard.name).toLowerCase()
+						leaderboard.unit ?? null
 					)}
 				</a>
 			</li>
-- 
cgit 

