chore: Remove casting node/edge to null on unmount

This commit is contained in:
Braks
2022-04-24 13:34:22 +02:00
parent 7f54d3a38e
commit 0519bd0f25
3 changed files with 8 additions and 21 deletions
@@ -117,10 +117,6 @@ onMounted(() => {
)
})
onUnmounted(() => {
edge.value = null
})
const slots = inject(Slots)
const name = ref(edge.value.type ?? 'default')