Fixed linter warnings

This commit is contained in:
Narek Malkhasyan 2025-04-10 17:59:21 +04:00
parent 427ad41fad
commit 34ec5e4200

View file

@ -284,8 +284,7 @@ const getBindingStrategyForDraggingArrowEndpoints = (
zoom, zoom,
) )
: null // If binding is disabled and start is dragged, break all binds : null // If binding is disabled and start is dragged, break all binds
: : "keep";
"keep";
const end = endDragged const end = endDragged
? isBindingEnabled ? isBindingEnabled
? getElligibleElementForBindingElement( ? getElligibleElementForBindingElement(
@ -296,8 +295,7 @@ const getBindingStrategyForDraggingArrowEndpoints = (
zoom, zoom,
) )
: null // If binding is disabled and end is dragged, break all binds : null // If binding is disabled and end is dragged, break all binds
: : "keep";
"keep";
return [start, end]; return [start, end];
}; };