chore(docs): lint

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-04-11 20:29:53 +02:00
parent f4616af840
commit 4454867c36
9 changed files with 41 additions and 15 deletions
@@ -69,7 +69,9 @@ watch([() => props.targetY, () => props.targetX], (_, __, onCleanup) => {
},
)
if (!closestNode.node) return
if (!closestNode.node) {
return
}
canSnap.value = closestNode.distance < SNAP_DISTANCE
@@ -92,8 +94,9 @@ watch([() => props.targetY, () => props.targetX], (_, __, onCleanup) => {
},
edges.value,
)
)
) {
return
}
if (closestHandle) {
const el = document.querySelector(`[data-handleid='${closestHandle.id}']`)