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/lib/containers/Cards.svelte | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'frontend/src/lib/containers/Cards.svelte')

diff --git a/frontend/src/lib/containers/Cards.svelte b/frontend/src/lib/containers/Cards.svelte
index a19e8be..36a4b86 100644
--- a/frontend/src/lib/containers/Cards.svelte
+++ b/frontend/src/lib/containers/Cards.svelte
@@ -1,8 +1,10 @@
 <script>
 	import { fadeDefault } from '$lib/Transitions';
 	import { fade } from 'svelte/transition';
+
+	let { children } = $props();
 </script>
 
 <div class="grid gap-4 xl:grid-cols-2 min-[1920px]:grid-cols-3" in:fade|global={fadeDefault}>
-	<slot />
+	{@render children?.()}
 </div>
-- 
cgit v1.2.3-2-gb3c3

