From 28275a302d4c62cf5f79e92eaa890d0d6dd71deb Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 27 Aug 2023 00:58:14 -0700
Subject: fix(list): proper timer

---
 src/lib/List/Due/MangaList.svelte | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/lib/List/Due/MangaList.svelte')

diff --git a/src/lib/List/Due/MangaList.svelte b/src/lib/List/Due/MangaList.svelte
index 3016ed57..7c7a285d 100644
--- a/src/lib/List/Due/MangaList.svelte
+++ b/src/lib/List/Due/MangaList.svelte
@@ -15,12 +15,11 @@
 	let endTime: number;
 
 	onMount(async () => {
+		startTime = performance.now();
 		mangaLists = mediaListCollection(user, identity, Type.Manga);
 	});
 
 	const cleanMedia = async (media: object[][], displayUnresolved: boolean) => {
-		startTime = performance.now();
-
 		if ($lastPruneAt == '') {
 			lastPruneAt.set(new Date().getTime().toString());
 		} else {
-- 
cgit v1.2.3

