Rebounce navigation events
This commit is contained in:
@@ -63,7 +63,11 @@ onMount(async () => {
|
||||
let current_page: Tab = $state(null)
|
||||
|
||||
const load_page = (pathname: string, history: boolean): boolean => {
|
||||
console.debug("Navigating to page", pathname, "log history:", history)
|
||||
console.debug(
|
||||
"Page router: Navigating to page", pathname,
|
||||
"current path", window.location.pathname,
|
||||
"log history:", history,
|
||||
)
|
||||
|
||||
const path_decoded = decodeURIComponent(pathname)
|
||||
let page_by_path: Tab = null
|
||||
|
||||
Reference in New Issue
Block a user