Skip to content

Commit 9724c12

Browse files
committed
Make the active state of docs reactive
1 parent 4eb96d9 commit 9724c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Header/Header.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { base } from '$app/paths';
44
import { page } from '$app/stores';
55
6-
const menuItems = [
6+
$: menuItems = [
77
{ label: 'Mission', href: base + '/#mission', viewportHighlightId: 'mission' },
88
{ label: 'About', href: base + '/#about', viewportHighlightId: 'about' },
99
{ label: 'Users', href: base + '/#users', viewportHighlightId: 'users' },

0 commit comments

Comments
 (0)