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/pills/AssociationPill.svelte | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'frontend/src/lib/pills/AssociationPill.svelte')

diff --git a/frontend/src/lib/pills/AssociationPill.svelte b/frontend/src/lib/pills/AssociationPill.svelte
index 85dbe39..ffbc8c4 100644
--- a/frontend/src/lib/pills/AssociationPill.svelte
+++ b/frontend/src/lib/pills/AssociationPill.svelte
@@ -3,12 +3,13 @@
 
 	type Association = 'artist' | 'circle' | 'world' | 'character';
 
-	export let name: string;
-	export let type: Association;
+	let { name, type }: { name: string; type: Association } = $props();
 </script>
 
 <Pill {name}>
-	<span class={`${type} icon-xs`} slot="icon" />
+	{#snippet icon()}
+		<span class={`${type} icon-xs`}></span>
+	{/snippet}
 </Pill>
 
 <style lang="postcss">
-- 
cgit v1.2.3-2-gb3c3

