From dc4db405d2991d3ec6a114f3b08d3fccd057d3ee Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Thu, 13 Feb 2025 17:52:16 +0100
Subject: frontend: Migrate to Svelte 5

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

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

diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte
index 97a7a60..32e4e07 100644
--- a/frontend/src/routes/+page.svelte
+++ b/frontend/src/routes/+page.svelte
@@ -19,10 +19,10 @@
 	});
 	const favouriteLink = href('comics', { filter: { include: { favourite: true } } });
 
-	$: query = frontpageQuery(getContextClient());
-	$: recent = $query.data?.recent;
-	$: favourites = $query.data?.favourites;
-	$: bookmarked = $query.data?.bookmarked;
+	let query = $derived(frontpageQuery(getContextClient()));
+	let recent = $derived($query.data?.recent);
+	let favourites = $derived($query.data?.favourites);
+	let bookmarked = $derived($query.data?.bookmarked);
 </script>
 
 <Head section="Home" />
-- 
cgit v1.2.3-2-gb3c3

