We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb9d0b3 commit 7278923Copy full SHA for 7278923
src/core/router/history/base.js
@@ -82,7 +82,7 @@ export class History {
82
const local = currentRoute && path[0] === '#';
83
const route = this.parse(replaceSlug(path));
84
85
- if (route.query.s) {
+ if (route?.query?.s) {
86
delete route.query.s;
87
}
88
0 commit comments