Add yet-another-react-lightbox package and update .gitignore to exclude node_modules
This commit is contained in:
12
frontend/node_modules/react-dnd/dist/hooks/useDragDropManager.js
generated
vendored
12
frontend/node_modules/react-dnd/dist/hooks/useDragDropManager.js
generated
vendored
@@ -1,12 +0,0 @@
|
||||
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
|
||||
Reference in New Issue
Block a user