From 4b12e64915735f3b2a5e29073d208f87097f6285 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 25 Sep 2023 21:37:54 -0700
Subject: refactor(anime): use title component

---
 src/routes/+page.svelte | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'src/routes/+page.svelte')

diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 72422fe0..9a9f598d 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -8,7 +8,7 @@
 	import settings from '../stores/settings';
 	import WatchingAnimeList from '$lib/List/WatchingAnimeList.svelte';
 	import { lastActivityDate } from '$lib/AniList/activity';
-	import MangaTitle from '$lib/List/Due/MangaTitle.svelte';
+	import ListTitle from '$lib/List/Due/ListTitle.svelte';
 
 	export let data;
 
@@ -104,7 +104,8 @@
 					displayUnresolved={$settings.displayUnresolved}
 				/>
 			{:else}
-				<summary>Anime [...] <small style="opacity: 50%">...s</small></summary>
+				<ListTitle anime />
+
 				<ul><li>Loading ...</li></ul>
 			{/if}
 		</details>
@@ -117,7 +118,7 @@
 					displayUnresolved={$settings.displayUnresolved}
 				/>
 			{:else}
-				<MangaTitle />
+				<ListTitle />
 
 				<ul><li>Loading ...</li></ul>
 			{/if}
-- 
cgit v1.2.3

