fix routing
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user