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

This commit is contained in:
braks
2023-11-08 08:27:12 +01:00
committed by Braks
parent e54b36ae28
commit 7cc798adae
8 changed files with 16 additions and 18 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
<script lang="ts" setup>
import { ref } from 'vue'
import { toRef } from '@vueuse/core'
import { ref, toRef } from 'vue'
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, watchEffect } from 'vue'
import { toRef, useEventListener, useResizeObserver } from '@vueuse/core'
import { onMounted, ref, toRef, watchEffect } from 'vue'
import { useEventListener, useResizeObserver } from '@vueuse/core'
import type { CoordinateExtent, D3ZoomHandler, FlowOptions, ViewportTransform } from '../../types'
import { PanOnScrollMode } from '../../types'
import { useKeyPress, useVueFlow, useWindow } from '../../composables'