chore(examples): lint

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-04-11 20:30:23 +02:00
parent 4454867c36
commit 544fd05d3e
3 changed files with 21 additions and 7 deletions
@@ -59,7 +59,9 @@ watch([() => props.targetY, () => props.targetX], (_, __, onCleanup) => {
},
)
if (!closestNode.node) return
if (!closestNode.node) {
return
}
canSnap.value = closestNode.distance < SNAP_DISTANCE