refactor(core): change nodeEl and edgeEl type to allow ref(null)

This commit is contained in:
braks
2023-07-10 19:20:26 +02:00
committed by Braks
parent 11f584a08a
commit 435cb9b687
9 changed files with 12 additions and 13 deletions
@@ -7,7 +7,7 @@ const { emits, viewport, getSelectedNodes, noPanClassName, disableKeyboardA11y,
const updatePositions = useUpdateNodePositions()
const el = ref<HTMLDivElement>()
const el = ref<HTMLDivElement | null>(null)
const dragging = useDrag({
el,