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/Grid.svelte | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

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

diff --git a/frontend/src/lib/containers/Grid.svelte b/frontend/src/lib/containers/Grid.svelte
index 1224156..af5125a 100644
--- a/frontend/src/lib/containers/Grid.svelte
+++ b/frontend/src/lib/containers/Grid.svelte
@@ -1,14 +1,16 @@
-<script>
+<script lang="ts">
 	import { fadeDefault } from '$lib/Transitions';
-
+	import type { Snippet } from 'svelte';
 	import { fade } from 'svelte/transition';
+
+	let { children }: { children?: Snippet } = $props();
 </script>
 
 <div
 	class="flex flex-col gap-1 lg:grid lg:h-full lg:max-h-full lg:overflow-auto"
 	in:fade|global={fadeDefault}
 >
-	<slot />
+	{@render children?.()}
 </div>
 
 <style>
-- 
cgit v1.2.3-2-gb3c3

