fix incorrect user sttings redirect

This commit is contained in:
Ruben Fiszel
2023-02-28 16:57:00 +01:00
parent 6adc875610
commit e515c70e71
@@ -39,6 +39,7 @@
export function closeDrawer() {
drawer?.closeDrawer()
const index = $page.url.href.lastIndexOf('#')
if (index === -1) return
const hashRemoved = $page.url.href.slice(0, index)
goto(hashRemoved)
}