From 735b9d06d4a63cee42b7635a3d806717e55cd762 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 31 Jan 2024 02:20:30 -0800
Subject: refactor(list): use global identity

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

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

diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 1d99ac42..16ca4e9b 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -41,7 +41,7 @@
 		{#if !$settings.disableUpcomingAnime}
 			<details open={!$settings.displayUpcomingAnimeCollapsed} class="list">
 				{#if $userIdentity.id != -1}
-					<UpcomingAnimeList user={data.user} identity={$userIdentity} />
+					<UpcomingAnimeList user={data.user} />
 				{:else}
 					<ListTitle title={$locale().lists.upcoming.episodes} />
 
@@ -57,7 +57,7 @@
 		{#if !$settings.disableAnime}
 			<details open={!$settings.displayAnimeCollapsed} class="list">
 				{#if $userIdentity.id != -1}
-					<AnimeList user={data.user} identity={$userIdentity} />
+					<AnimeList user={data.user} />
 				{:else}
 					<ListTitle title={$locale().lists.due.episodes} />
 
@@ -75,7 +75,6 @@
 				{#if $userIdentity.id != -1}
 					<MangaListTemplate
 						user={data.user}
-						identity={$userIdentity}
 						displayUnresolved={$settings.displayUnresolved}
 						due={true}
 					/>
-- 
cgit v1.2.3

