refactor: removed unused codes

This commit is contained in:
Johnson Cherian 2024-03-11 16:22:14 +05:30
parent b3c48c43b2
commit 80a93df617
2 changed files with 1 additions and 4 deletions

View file

@ -3,7 +3,7 @@ import Moveable from 'react-moveable';
import { useEditorStore } from '@/_stores/editorStore';
import { shallow } from 'zustand/shallow';
import './DragContainer.css';
import _, { isEmpty, debounce } from 'lodash';
import _, { isEmpty } from 'lodash';
import { flushSync } from 'react-dom';
import { restrictedWidgetsObj } from './WidgetManager/restrictedWidgetsConfig';
import { useGridStore, useIsGroupHandleHoverd, useOpenModalWidgetId } from '@/_stores/gridStore';

View file

@ -4,7 +4,6 @@ import { useDrop, useDragLayer } from 'react-dnd';
import { ItemTypes } from './ItemTypes';
import { DraggableBox } from './DraggableBox';
import update from 'immutability-helper';
const produce = require('immer').default;
import _, { isEmpty } from 'lodash';
import { componentTypes } from './WidgetManager/components';
import { addNewWidgetToTheEditor } from '@/_helpers/appUtils';
@ -18,10 +17,8 @@ import { useMounted } from '@/_hooks/use-mount';
import { useEditorStore } from '@/_stores/editorStore';
// eslint-disable-next-line import/no-unresolved
import { diff } from 'deep-object-diff';
import DragContainerNested from './DragContainerNested';
import { useGridStore, useResizingComponentId } from '@/_stores/gridStore';
import { SUBCONTAINER_WITH_SCROLL } from './constants';
import { widgets } from './WidgetManager/widgetConfig';
// const NO_OF_GRIDS = 43;