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
@@ -51,7 +51,7 @@ const EdgeWrapper = defineComponent({
const edgeUpdaterType = ref<HandleType>('source')
const edgeEl = ref<SVGElement>()
const edgeEl = ref<SVGElement | null>(null)
provide(EdgeId, props.id)
provide(EdgeRef, edgeEl)