Skip to content

Commit

Permalink
feat: drop lodash (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo837 authored Dec 19, 2022
1 parent 394a9de commit d2b7e30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"@babel/runtime": "^7.10.1",
"classnames": "2.x",
"dom-align": "^1.7.0",
"lodash": "^4.17.21",
"rc-util": "^5.3.0",
"rc-util": "^5.26.0",
"resize-observer-polyfill": "^1.5.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Align.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import { alignElement, alignPoint } from 'dom-align';
import isEqual from 'lodash/isEqual';
import isEqual from 'rc-util/lib/isEqual';
import addEventListener from 'rc-util/lib/Dom/addEventListener';
import isVisible from 'rc-util/lib/Dom/isVisible';
import useLayoutEffect from 'rc-util/lib/hooks/useLayoutEffect';
Expand Down

0 comments on commit d2b7e30

Please sign in to comment.