diff --git a/packages/design-system/src/components/primitives/dnd/use-drag.ts b/packages/design-system/src/components/primitives/dnd/use-drag.ts index e2e3ab1582..ed3866e23d 100644 --- a/packages/design-system/src/components/primitives/dnd/use-drag.ts +++ b/packages/design-system/src/components/primitives/dnd/use-drag.ts @@ -32,7 +32,7 @@ export type UseDragProps = { onEnd: () => void; }; -export type UseDropTargetHandlers = { +export type UseDragHandlers = { rootRef: (element: HTMLElement | null) => void; }; @@ -44,7 +44,7 @@ export const useDrag = ({ // eslint-disable-next-line @typescript-eslint/no-empty-function onShiftChange = () => {}, onEnd, -}: UseDragProps): UseDropTargetHandlers => { +}: UseDragProps): UseDragHandlers => { const state = useRef(initialState); const rootRef = useRef(null);