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
}*/
if(e.state != null) {
window.router.route({
url: location.href,
push_state: false,
})
}
})