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/icons/Bookmark.svelte | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

(limited to 'frontend/src/lib/icons/Bookmark.svelte')

diff --git a/frontend/src/lib/icons/Bookmark.svelte b/frontend/src/lib/icons/Bookmark.svelte
index 6f8e192..21b54ed 100644
--- a/frontend/src/lib/icons/Bookmark.svelte
+++ b/frontend/src/lib/icons/Bookmark.svelte
@@ -1,10 +1,15 @@
 <script lang="ts">
-	export let bookmarked: boolean | undefined = undefined;
-	export let hoverable = false;
+	interface Props {
+		bookmarked?: boolean;
+		hoverable?: boolean;
+	}
+
+	let { bookmarked, hoverable = false }: Props = $props();
 </script>
 
 {#if bookmarked}
-	<span class:hoverable class="icon-gray icon-base icon-[material-symbols--bookmark]" />
+	<span class:hoverable class="icon-gray icon-base icon-[material-symbols--bookmark]"></span>
 {:else}
-	<span class:hoverable class="icon-gray icon-base dim icon-[material-symbols--bookmark-outline]" />
+	<span class:hoverable class="icon-gray icon-base dim icon-[material-symbols--bookmark-outline]"
+	></span>
 {/if}
-- 
cgit v1.2.3-2-gb3c3

