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/Picker.svelte | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'src/lib/Tools/Picker.svelte')

diff --git a/src/lib/Tools/Picker.svelte b/src/lib/Tools/Picker.svelte
index 3f20300f..8628f757 100644
--- a/src/lib/Tools/Picker.svelte
+++ b/src/lib/Tools/Picker.svelte
@@ -4,13 +4,17 @@
   import root from '$lib/Utility/root';
   import { tools } from './tools';
 
-  export let tool: string;
+  interface Props {
+    tool: string;
+  }
+
+  let { tool = $bindable() }: Props = $props();
 </script>
 
 <blockquote>
   <select
     bind:value={tool}
-    on:change={() => {
+    onchange={() => {
       if (browser) goto(root(`/tools/${tool}`));
     }}
   >
-- 
cgit v1.2.3

