Update Fix

This commit is contained in:
2026-03-06 03:26:11 +07:00
commit 8090007f39
15987 changed files with 2350525 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { invariant } from '@react-dnd/invariant';
import { useContext } from 'react';
import { DndContext } from '../core/index.js';
/**
* A hook to retrieve the DragDropManager from Context
*/ export function useDragDropManager() {
const { dragDropManager } = useContext(DndContext);
invariant(dragDropManager != null, 'Expected drag drop context');
return dragDropManager;
}
//# sourceMappingURL=useDragDropManager.js.map