Skip to content

Commit 73b28d4

Browse files
fix: navigate to different tab when clicking header link
1 parent d8dce25 commit 73b28d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/dash/[sid]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import { dashTabs } from "$lib/dash/utils.js"
1111
1212
let { data } = $props()
13-
let tab: string = $state(
13+
let tab: string|null = $derived(
1414
page.url.searchParams.get("tab") !== null
1515
? page.url.searchParams.get("tab")
1616
: data.tab

0 commit comments

Comments
 (0)