From 1067a2844ed42d836b5f0b271e1978c49889eb97 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Tue, 19 Sep 2023 17:10:59 -0700
Subject: fix(due): move timer back

---
 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 ed641132..4b207351 100644
--- a/src/lib/List/Due/MangaList.svelte
+++ b/src/lib/List/Due/MangaList.svelte
@@ -23,6 +23,7 @@
 	}, $settings.cacheMinutes * 1000 * 60);
 
 	onMount(async () => {
+		startTime = performance.now();
 		mangaLists = mediaListCollection(user, identity, Type.Manga, $manga, $lastPruneTimes.manga);
 	});
 
@@ -33,8 +34,6 @@
 			return [];
 		}
 
-		startTime = performance.now();
-
 		if ($lastPruneTimes.chapters === 1) {
 			lastPruneTimes.setKey('chapters', new Date().getTime());
 		} else {
-- 
cgit v1.2.3

