fix: router recursion

This commit is contained in:
mrilyew 2025-05-24 22:03:06 +03:00
parent 86f8b0f923
commit 07bde0e649

View file

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