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/tabs/ArchiveDelete.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'frontend/src/lib/tabs/ArchiveDelete.svelte')

diff --git a/frontend/src/lib/tabs/ArchiveDelete.svelte b/frontend/src/lib/tabs/ArchiveDelete.svelte
index b0e3c58..50a99c2 100644
--- a/frontend/src/lib/tabs/ArchiveDelete.svelte
+++ b/frontend/src/lib/tabs/ArchiveDelete.svelte
@@ -9,7 +9,7 @@
 
 	const client = getContextClient();
 
-	export let archive: FullArchiveFragment;
+	let { archive }: { archive: FullArchiveFragment } = $props();
 
 	function deleteArchive() {
 		confirmDeletion('Archive', archive.name, () => {
@@ -37,6 +37,6 @@
 		<p class="mt-2 font-medium">This action is irrevocable.</p>
 	</div>
 	<div class="flex">
-		<DeleteButton prominent on:click={deleteArchive} />
+		<DeleteButton prominent onclick={deleteArchive} />
 	</div>
 </div>
-- 
cgit v1.2.3-2-gb3c3

