From 1e0e11733f0988f30188824eb4d5814c33e4e6c3 Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Sat, 9 Apr 2022 12:56:28 -0500
Subject: Revert "make misc its own section"

This reverts commit 87b314d77249a1e0cb3b99ab8cd73e8c27602788.
---
 src/lib/sections/Misc.svelte | 33 ---------------------------------
 1 file changed, 33 deletions(-)
 delete mode 100644 src/lib/sections/Misc.svelte

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

diff --git a/src/lib/sections/Misc.svelte b/src/lib/sections/Misc.svelte
deleted file mode 100644
index 01bdda8..0000000
--- a/src/lib/sections/Misc.svelte
+++ /dev/null
@@ -1,33 +0,0 @@
-<script lang="ts">
-	import { cleanId, millisecondsToTime } from '$lib/utils'
-	import type { CleanMemberProfile, StatItem } from '$lib/APITypes'
-
-	export let data: CleanMemberProfile
-</script>
-
-<ul>
-	{#each data.member.stats
-		.filter(s => s.category === 'misc')
-		.sort((a, b) => b.value - a.value) as stat}
-		<li>
-			<span class="stat-name">{cleanId(stat.categorizedName)}:</span>
-			<span class="stat-value">
-				{#if stat.unit === 'time'}
-					{millisecondsToTime(stat.value)}
-				{:else}
-					{stat.value.toLocaleString()}
-				{/if}
-			</span>
-		</li>
-	{/each}
-</ul>
-
-<style>
-	li {
-		position: relative;
-	}
-	ul {
-		margin-top: 0.5em;
-		padding-left: 1em;
-	}
-</style>
-- 
cgit 

