From 92293c66156e49f801fed6e8cc0996fd88f5f33b Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 3 Sep 2023 18:36:53 -0700 Subject: feat(settings): move last prune times to store --- src/lib/List/UpcomingAnimeList.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/List/UpcomingAnimeList.svelte') diff --git a/src/lib/List/UpcomingAnimeList.svelte b/src/lib/List/UpcomingAnimeList.svelte index 88b2cca0..87343032 100644 --- a/src/lib/List/UpcomingAnimeList.svelte +++ b/src/lib/List/UpcomingAnimeList.svelte @@ -5,7 +5,7 @@ import type { UserIdentity, AniListAuthorisation } from '$lib/AniList/identity'; import { onMount } from 'svelte'; import anime from '../../stores/anime'; - import animeLastPrune from '../../stores/mangaLastPrune'; + import lastPruneTimes from '../../stores/lastPruneTimes'; export let user: AniListAuthorisation; export let identity: UserIdentity; @@ -17,7 +17,7 @@ onMount(async () => { startTime = performance.now(); - animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $animeLastPrune); + animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $lastPruneTimes.anime); }); const cleanMedia = (media: { entries: { media: Media }[] }[], displayUnresolved: boolean) => { -- cgit v1.2.3