Skip to content

Commit

Permalink
fix: hide "No root instance found for app" if debug mode isn't on
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Oct 3, 2022
1 parent f2ad51e commit 257d13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-backend-core/src/app.ts
Expand Up @@ -107,7 +107,7 @@ async function createAppRecord (options: AppRecordOptions, backend: DevtoolsBack
if (ctx.currentAppRecord == null) {
await selectApp(record, ctx)
}
} else {
} else if (SharedData.debugInfo) {
console.warn('[Vue devtools] No root instance found for app, it might have been unmounted', options.app)
}
}
Expand Down

0 comments on commit 257d13b

Please sign in to comment.