diff --git a/src/router.js b/src/router.js index 9443e357..20ea7978 100644 --- a/src/router.js +++ b/src/router.js @@ -341,7 +341,9 @@ export class Router { return this.parent.updateTitle(); } - this.currentInstruction._updateTitle(); + if (this.currentInstruction) { + this.currentInstruction._updateTitle(); + } return undefined; }