fix: wrong watch source in nodes

* causes console warnings

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-15 12:50:03 +01:00
parent 9c3eeef5eb
commit d6ee5f8868
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ onMounted(() => {
}),
)
watch([props.node.type, props.node.sourcePosition, props.node.targetPosition], () => {
watch([() => props.node.type, () => props.node.sourcePosition, () => props.node.targetPosition], () => {
nextTick(() => {
store.updateNodeDimensions({
id: props.node.id,