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 d02cf1e commit 89127acCopy full SHA for 89127ac
packages/core/src/rpc/global.ts
@@ -140,7 +140,7 @@ export const functions = {
140
getMatchedRoutes(path: string) {
141
const c = console.warn
142
console.warn = () => {}
143
- const matched = devtoolsRouter.value?.resolve({
+ const matched = devtoolsRouter.value?.resolve?.({
144
path: path || '/',
145
}).matched ?? []
146
console.warn = c
0 commit comments