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/Tools/SequelCatcher/List.svelte | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

(limited to 'src/lib/Tools/SequelCatcher/List.svelte')

diff --git a/src/lib/Tools/SequelCatcher/List.svelte b/src/lib/Tools/SequelCatcher/List.svelte
index 009df219..788e8e01 100644
--- a/src/lib/Tools/SequelCatcher/List.svelte
+++ b/src/lib/Tools/SequelCatcher/List.svelte
@@ -4,10 +4,14 @@
   import { outboundLink } from '$lib/Media/links';
   import settings from '$stores/settings';
 
-  export let mediaListUnchecked: Media[];
+  interface Props {
+    mediaListUnchecked: Media[];
+  }
+
+  let { mediaListUnchecked }: Props = $props();
 
-  let includeCurrent = false;
-  let includeSideStories = false;
+  let includeCurrent = $state(false);
+  let includeSideStories = $state(false);
 
   const matchCheck = (media: Media | undefined, swap = false) =>
     (media &&
@@ -30,7 +34,7 @@ paused)
 <input type="checkbox" bind:checked={includeSideStories} /> Include side stories (e.g., OVAs,
 specials, etc.)
 
-<p />
+<p></p>
 
 <ol class="media-list">
   {#each filterRelations( mediaListUnchecked.filter((media) => media.mediaListEntry?.status === 'COMPLETED'), includeSideStories ) as { media, unwatchedRelations }}
-- 
cgit v1.2.3

