Skip to content

Commit 32cb373

Browse files
committedFeb 5, 2024
fix(kit): set active app record after register component plugin
1 parent 717e808 commit 32cb373

File tree

1 file changed

+1
-1
lines changed
  • packages/devtools-kit/src/core/app-record

1 file changed

+1
-1
lines changed
 

‎packages/devtools-kit/src/core/app-record/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function createAppRecord(app: VueAppInstance['appContext']['app']): AppRe
6363
}
6464

6565
export async function setActiveAppRecord(appRecord: AppRecord) {
66-
registerComponentDevToolsPlugin(appRecord?.app as unknown as VueAppInstance)
66+
await registerComponentDevToolsPlugin(appRecord?.app as unknown as VueAppInstance)
6767
devtoolsAppRecords.active = appRecord
6868
devtoolsAppRecords.activeId = `${appRecord.id}`
6969
registerPlugin(appRecord.app!, appRecord.api!)

0 commit comments

Comments
 (0)
Please sign in to comment.