From 1b329488d6256f6959475ef3aeaaa1847e34835b Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Tue, 19 Sep 2023 02:27:54 -0700
Subject: fix(due): move start time to processing

---
 src/lib/List/Due/AnimeList.svelte | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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

diff --git a/src/lib/List/Due/AnimeList.svelte b/src/lib/List/Due/AnimeList.svelte
index e6e36b39..bd3fe0cf 100644
--- a/src/lib/List/Due/AnimeList.svelte
+++ b/src/lib/List/Due/AnimeList.svelte
@@ -31,7 +31,6 @@
 	}, $settings.cacheMinutes * 1000 * 60);
 
 	onMount(async () => {
-		startTime = performance.now();
 		animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $lastPruneTimes.anime);
 	});
 
@@ -44,6 +43,8 @@
 			return [];
 		}
 
+		startTime = performance.now();
+
 		const releasingMedia = media.filter(
 			(media: Media) =>
 				media.status == 'RELEASING' &&
-- 
cgit v1.2.3

