From 5822e64c843db8997f720790aabcf514df826fd6 Mon Sep 17 00:00:00 2001 From: Ivan Kuzmenko <6745157+rndtrash@users.noreply.github.com> Date: Wed, 26 Nov 2025 23:56:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D1=91=D0=BB=20Na?= =?UTF-8?q?vBar=20=D0=BD=D0=B0=20Svelte=20Runes=20(=D1=8D=D1=82=D0=BE=20?= =?UTF-8?q?=D0=BA=D0=B0=D0=BA=D0=B8=D0=BC-=D1=82=D0=BE=20=D0=BE=D0=B1?= =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=BE=D0=BC=20=D0=BF=D0=BE=D1=87=D0=B8=D0=BD?= =?UTF-8?q?=D0=B8=D0=BB=D0=BE=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D0=B8=3F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/components/NavBar.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/NavBar.svelte b/src/lib/components/NavBar.svelte index 3ba5ee7..a43b65f 100644 --- a/src/lib/components/NavBar.svelte +++ b/src/lib/components/NavBar.svelte @@ -2,7 +2,7 @@ import HoverIcon from '$lib/components/HoverIcon.svelte'; import { page } from '$app/state'; - export let routes: App.Route[]; + let { routes }: { routes: App.Route[] } = $props(); function isActive(route: string): boolean { if (route === '/') return page.url.pathname === route;