revert(core): cleanup imports from vueuse/core that exist in vue

This reverts commit 7cc798ad
This commit is contained in:
braks
2023-11-08 16:22:15 +01:00
committed by Braks
parent 9846420e42
commit 6162389cc2
8 changed files with 13 additions and 12 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
<script lang="ts" setup>
import { ref, toRef } from 'vue'
import { ref } from 'vue'
import { toRef } from '@vueuse/core'
import UserSelection from '../../components/UserSelection/UserSelection.vue'
import NodesSelection from '../../components/NodesSelection/NodesSelection.vue'
import type { GraphNode } from '../../types'
@@ -2,8 +2,8 @@
import type { D3ZoomEvent, ZoomTransform } from 'd3-zoom'
import { zoom, zoomIdentity } from 'd3-zoom'
import { pointer, select } from 'd3-selection'
import { onMounted, ref, toRef, watchEffect } from 'vue'
import { useEventListener, useResizeObserver } from '@vueuse/core'
import { onMounted, ref, watchEffect } from 'vue'
import { toRef, useEventListener, useResizeObserver } from '@vueuse/core'
import type { CoordinateExtent, D3ZoomHandler, FlowOptions, ViewportTransform } from '../../types'
import { PanOnScrollMode } from '../../types'
import { useKeyPress, useVueFlow, useWindow } from '../../composables'