diff --git a/frontend/src/lib/components/ui/tabs/tabs.svelte b/frontend/src/lib/components/ui/tabs/tabs.svelte index 9dae5d31..19e4a18a 100644 --- a/frontend/src/lib/components/ui/tabs/tabs.svelte +++ b/frontend/src/lib/components/ui/tabs/tabs.svelte @@ -22,7 +22,7 @@ function onTabChange(newValue: string) { if (useHash && page.url.hash !== newValue) { - window.location.hash = newValue; + history.replaceState(history.state, "",location.pathname + location.search + `#${newValue}`); } }