diff --git a/web/apps/web/src/components/app/node-form/widgets/tasks-config.tsx b/web/apps/web/src/components/app/node-form/widgets/tasks-config.tsx index 1ea79534..f9f6824e 100644 --- a/web/apps/web/src/components/app/node-form/widgets/tasks-config.tsx +++ b/web/apps/web/src/components/app/node-form/widgets/tasks-config.tsx @@ -212,6 +212,7 @@ const TaskItem = ({ const hoverMiddleY = (hoverBoundingRect.bottom - hoverBoundingRect.top) / 2; const clientOffset = monitor.getClientOffset() || { x: 0, y: 0 }; + // eslint-disable-next-line no-unsafe-optional-chaining const hoverClientY = clientOffset?.y - hoverBoundingRect.top; if ( @@ -252,8 +253,7 @@ const TaskItem = ({ {draggable && (
+ className="w-6 h-6 flex items-center justify-center cursor-grab">
)}