diff --git a/packages/devtools/client/composables/vue-devtools.ts b/packages/devtools/client/composables/vue-devtools.ts deleted file mode 100644 index e1b604d6e7..0000000000 --- a/packages/devtools/client/composables/vue-devtools.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { activeAppRecord, connected } from '../setup/vue-devtools' - -export function useVueDevToolsState() { - return { - activeAppRecord, - connected, - } -} - -export function onVueDevToolsConnected(callback: () => void) { - if (connected.value) { - callback() - } - else { - const stop = watch(connected, (value) => { - if (value) { - stop() - callback() - } - }) - } -} diff --git a/packages/devtools/client/pages/modules/components-tree.vue b/packages/devtools/client/pages/modules/components-tree.vue index 6671a52950..0bcaf2b1f9 100644 --- a/packages/devtools/client/pages/modules/components-tree.vue +++ b/packages/devtools/client/pages/modules/components-tree.vue @@ -1,5 +1,6 @@