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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
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.tsindex 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-functiononShiftChange = () => {},onEnd,-}: UseDragProps): UseDropTargetHandlers => {+}: UseDragProps): UseDragHandlers => {const state = useRef<State>(initialState);const rootRef = useRef<HTMLElement | null>(null);