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/statistics/+page.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/frontend/src/routes/statistics/+page.svelte b/frontend/src/routes/statistics/+page.svelte
index 7497bcf..1a5bb27 100644
--- a/frontend/src/routes/statistics/+page.svelte
+++ b/frontend/src/routes/statistics/+page.svelte
@@ -5,8 +5,8 @@
 	import StatGroup from '$lib/statistics/StatGroup.svelte';
 	import { getContextClient } from '@urql/svelte';
 
-	$: query = statisticsQuery(getContextClient());
-	$: totals = $query.data?.statistics.total;
+	let query = $derived(statisticsQuery(getContextClient()));
+	let totals = $derived($query.data?.statistics.total);
 </script>
 
 <Head section="Statistics" />
-- 
cgit v1.2.3-2-gb3c3

