diff --git a/src/components/Nav.svelte b/src/components/Nav.svelte index ddb7e0f..207c2b1 100644 --- a/src/components/Nav.svelte +++ b/src/components/Nav.svelte @@ -2,8 +2,13 @@ import { Menu } from "lucide-svelte"; import type { NavItem } from "../types/nav"; - export let title: string = ""; - export let navLinks: NavItem[] = []; + let { + title = "", + navLinks = [], + }: { + title?: string; + navLinks?: NavItem[]; + } = $props();
diff --git a/src/components/Result.svelte b/src/components/Result.svelte index 8a4f19c..1e00e5a 100644 --- a/src/components/Result.svelte +++ b/src/components/Result.svelte @@ -1,18 +1,8 @@