refactor(deps): remove resize-observer
This commit is contained in:
Generated
+8445
-16
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -33,8 +33,7 @@
|
||||
"d3-zoom": "^2.0.0",
|
||||
"easy-peasy": "^4.0.1",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"react-draggable": "^4.4.3",
|
||||
"resize-observer": "^1.0.0"
|
||||
"react-draggable": "^4.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
@@ -50,6 +49,7 @@
|
||||
"@types/d3": "^6.0.0",
|
||||
"@types/react": "^16.9.56",
|
||||
"@types/react-dom": "^16.9.9",
|
||||
"@types/resize-observer-browser": "^0.1.4",
|
||||
"autoprefixer": "^9.8.6",
|
||||
"babel-preset-react-app": "^10.0.0",
|
||||
"cypress": "^5.5.0",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import React, { useEffect, useRef, memo, ComponentType, CSSProperties, useMemo, MouseEvent, useCallback } from 'react';
|
||||
import { DraggableCore } from 'react-draggable';
|
||||
import cc from 'classcat';
|
||||
import { ResizeObserver } from 'resize-observer';
|
||||
|
||||
import { useStoreActions } from '../../store/hooks';
|
||||
import { Provider } from '../../contexts/NodeIdContext';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { useEffect, MutableRefObject } from 'react';
|
||||
import { ResizeObserver } from 'resize-observer';
|
||||
import { useStoreActions } from '../store/hooks';
|
||||
|
||||
import { getDimensions } from '../utils';
|
||||
|
||||
Reference in New Issue
Block a user