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
@@ -97,7 +97,6 @@ watch(
onUnmounted(() => {
nodeElement.value = undefined
node.value = null
})
store.updateNodePosition({ id: node.value.id, diff: { x: 0, y: 0 } })