Skip to content

Commit 257d13b

Browse files
committed
fix: hide "No root instance found for app" if debug mode isn't on
1 parent f2ad51e commit 257d13b

File tree

1 file changed

+1
-1
lines changed
  • packages/app-backend-core/src

1 file changed

+1
-1
lines changed

packages/app-backend-core/src/app.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async function createAppRecord (options: AppRecordOptions, backend: DevtoolsBack
107107
if (ctx.currentAppRecord == null) {
108108
await selectApp(record, ctx)
109109
}
110-
} else {
110+
} else if (SharedData.debugInfo) {
111111
console.warn('[Vue devtools] No root instance found for app, it might have been unmounted', options.app)
112112
}
113113
}

0 commit comments

Comments
 (0)