From 13cdbfa7b8dd3dd87e7663c734d369be64348212 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 17 Dec 2023 08:08:06 -0800
Subject: refactor(airing): move set to inject + debug

---
 src/lib/List/Anime/AnimeListTemplate.svelte | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/lib/List/Anime/AnimeListTemplate.svelte')

diff --git a/src/lib/List/Anime/AnimeListTemplate.svelte b/src/lib/List/Anime/AnimeListTemplate.svelte
index 554897ba..7c1cfbec 100644
--- a/src/lib/List/Anime/AnimeListTemplate.svelte
+++ b/src/lib/List/Anime/AnimeListTemplate.svelte
@@ -48,7 +48,9 @@
 		<ul><li>Loading ...</li></ul>
 	{/if}
 {:then media}
-	{#await fetch(`/api/subsplease?tz=${Intl.DateTimeFormat().resolvedOptions().timeZone}`).then( (r) => r.json() ) then subsPlease}
+	{#await fetch(`/api/subsplease?tz=${Intl.DateTimeFormat().resolvedOptions().timeZone}`).then( (r) => r.json() )}
+		Loading ...
+	{:then subsPlease}
 		<CleanAnimeList
 			media={cleanMedia(media, $settings.displayUnresolved, subsPlease, plannedOnly)}
 			{title}
-- 
cgit v1.2.3

