fix setLocation

This commit is contained in:
srgooglo 2022-05-30 22:29:53 +02:00
parent 4f1098af9e
commit eb17c036a2

View File

@ -139,7 +139,7 @@ export class RenderCore extends Core {
}, delay ?? defaultTransitionDelay)
}
this.ctx.registerPublicMethod("setLocation", this.publicMethods.setLocation)
this.ctx.registerPublicMethod("setLocation", this.ctx.history.setLocation)
}
validateLocationSlash = (location) => {