Skip to content

Commit 2c39bde

Browse files
committed
refactor: revert imports in devtools as they are not supported in vue 2
1 parent ee018e5 commit 2c39bde

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/devtools/CloseButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { computed, defineComponent, PropType } from "vue-demi";
2+
import { computed, defineComponent, PropType } from "vue";
33
44
import { Position } from "./utils";
55
import type { ButtonProps } from "./types";

src/devtools/Devtools.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { defineComponent, PropType, ref } from "vue-demi";
2+
import { defineComponent, PropType, ref } from "vue";
33
44
import CloseButton from "./CloseButton.vue";
55
import DevtoolsPanel from "./DevtoolsPanel.vue";

src/devtools/DevtoolsPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
PropType,
99
Ref,
1010
ref,
11-
} from "vue-demi";
11+
} from "vue";
1212
import { useQueryClient } from "../useQueryClient";
1313
import {
1414
getQueryStatusLabel,

src/devtools/Explorer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { defineComponent, PropType, ref, watchEffect } from "vue-demi";
2+
import { defineComponent, PropType, ref, watchEffect } from "vue";
33
import { useTheme } from "./useTheme";
44
55
type DefaultExpanded = Record<string, unknown> | boolean;

src/devtools/ToggleButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { computed, defineComponent, PropType } from "vue-demi";
2+
import { computed, defineComponent, PropType } from "vue";
33
import Logo from "./Logo.vue";
44
55
import { Position } from "./utils";

src/devtools/useTheme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { inject } from "vue-demi";
1+
import { inject } from "vue";
22

33
const theme = {
44
background: "#0b1521",

0 commit comments

Comments
 (0)