fix routing

This commit is contained in:
2026-07-27 17:08:02 +02:00
parent 9aaab7046f
commit 7598c443b1

View File

@@ -53,8 +53,7 @@ export class App {
this.router.onChange((route) => this.applyRoute(route)) this.router.onChange((route) => this.applyRoute(route))
const initial = this.router.start() const initial = this.router.start()
this.scene = initial.scene this.applyRoute(initial)
this.overlay.setScene(this.scene)
this.router.replace(Router.sceneToBasePath(this.scene)) this.router.replace(Router.sceneToBasePath(this.scene))
this.resize() this.resize()