From 39b677404558ae3b7eb34e818d7ca308f62f9cb0 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 28 Oct 2024 15:32:46 -0700
Subject: feat: update to svelte 5

---
 src/lib/List/CleanGrid.svelte | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

(limited to 'src/lib/List/CleanGrid.svelte')

diff --git a/src/lib/List/CleanGrid.svelte b/src/lib/List/CleanGrid.svelte
index ec93a685..774303aa 100644
--- a/src/lib/List/CleanGrid.svelte
+++ b/src/lib/List/CleanGrid.svelte
@@ -7,11 +7,13 @@
   import { mediaTitle } from './mediaTitle';
   import './covers.css';
 
-  export let media: Media[];
-  export let dummy = false;
-  export let type: 'anime' | 'manga';
-  export let upcoming = false;
-  export let notYetReleased = false;
+  let {
+    media = [] as Media[],
+    dummy = false,
+    type = 'anime' as 'anime' | 'manga',
+    upcoming = false,
+    notYetReleased = false
+  } = $props();
 
   let uniqueID = new Date().getTime();
 </script>
-- 
cgit v1.2.3

