chore: lint files

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-04-11 20:28:02 +02:00
committed by Braks
parent ab18bbc7d8
commit 5560949ed1
23 changed files with 247 additions and 80 deletions
+6 -2
View File
@@ -98,7 +98,9 @@ function useDrag(params: UseDragParams) {
return n
})
if (!hasChange) return
if (!hasChange) {
return
}
updateNodePositions(dragItems, true, true)
@@ -116,7 +118,9 @@ function useDrag(params: UseDragParams) {
}
const autoPan = (): void => {
if (!containerBounds) return
if (!containerBounds) {
return
}
const [xMovement, yMovement] = calcAutoPan(mousePosition, containerBounds)