Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix name

Roman Pominovaf7fa62dec7d
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<State>(initialState);
const rootRef = useRef<HTMLElement | null>(null);