fix: fixed npx eslint (also accounting for justins part)

ref: N25B-142
This commit is contained in:
Björn Otgaar
2025-11-05 17:21:36 +01:00
parent 571908cd70
commit 1b8095376b
2 changed files with 4 additions and 3 deletions

View File

@@ -27,8 +27,7 @@ function DraggableNode({ className, children, nodeType, onDrop }: DraggableNodeP
const draggableRef = useRef<HTMLDivElement>(null);
const [position, setPosition] = useState<XYPosition>({ x: 0, y: 0 });
// @ts-ignore
// @ts-expect-error we expect the null referece here.
useDraggable(draggableRef, {
position: position,
onDrag: ({ offsetX, offsetY }) => {