fix: router recursion

This commit is contained in:
mrilyew 2025-05-24 22:03:06 +03:00 committed by Alexander Minkin
parent 626770ef0c
commit f843132d5e

View file

@ -401,8 +401,10 @@ window.addEventListener('popstate', (e) => {
return return
}*/ }*/
window.router.route({ if(e.state != null) {
url: location.href, window.router.route({
push_state: false, url: location.href,
}) push_state: false,
})
}
}) })