From 0b957291eb52a31c5b96ec92dab5bbb64125291a Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 1 Sep 2023 00:08:40 -0700
Subject: fix(due): better increment follow-up

---
 src/lib/List/Due/AnimeList.svelte | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(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 39916f19..4257c922 100644
--- a/src/lib/List/Due/AnimeList.svelte
+++ b/src/lib/List/Due/AnimeList.svelte
@@ -121,10 +121,7 @@
 	};
 
 	const updateMedia = async (id: number, progress: number | undefined) => {
-		anime.set('');
-		animeLastPrune.set('1');
-
-		animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $animeLastPrune);
+		animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $animeLastPrune, true);
 
 		await fetch(`/anilist/increment?id=${id}&progress=${progress! + 1}`);
 	};
-- 
cgit v1.2.3

