From 16403a7d834bbe1f2f4dddf8791baa8a1163222b Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Sat, 9 Apr 2022 15:20:37 -0500
Subject: Fixes

Fix leaderboards section not showing correct units & hyperlink directly to profile from leaderboards
---
 src/lib/sections/Coop.svelte | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

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

diff --git a/src/lib/sections/Coop.svelte b/src/lib/sections/Coop.svelte
index 867d878..d33ae27 100644
--- a/src/lib/sections/Coop.svelte
+++ b/src/lib/sections/Coop.svelte
@@ -50,11 +50,7 @@
 		<h3 class="previous-members-title">Previous members</h3>
 		{#each data.profile.members.filter(m => m.left) as player}
 			<span class="member">
-				<Username
-					{player}
-					headType="2d"
-					hyperlinkToProfile="{player.username}/{data.profile.uuid}"
-				/>
+				<Username {player} headType="2d" hyperlinkToProfile={data.profile.uuid} />
 			</span>
 		{/each}
 	{/if}
-- 
cgit 

