chore(deps): remove unused deps

* update deps
* some ts fixes
This commit is contained in:
Braks
2021-10-20 22:39:54 +02:00
parent 17f2517ab4
commit 6cfe5f6d43
9 changed files with 209 additions and 247 deletions
@@ -2,7 +2,7 @@
import { CSSProperties } from 'vue'
import { ConnectionLineType, CustomConnectionLine, HandleElement, Node, Position } from '~/types'
import { getBezierPath, getSmoothStepPath } from '~/components/Edges/utils'
import { Hooks, Store } from '~/context'
import { Store } from '~/context'
interface ConnectionLineProps {
sourceNode: Node
@@ -16,7 +16,6 @@ const props = withDefaults(defineProps<ConnectionLineProps>(), {
connectionLineStyle: () => ({}),
})
const hooks = inject(Hooks)!
const store = inject(Store)!
const sourceHandle =