Skip to content

Commit

Permalink
chore: use lodash instead of lodash.camelcase (#592)
Browse files Browse the repository at this point in the history
* chore: use lodash instead of lodash.camelcase

* chore: update path
  • Loading branch information
MadCcc authored Aug 11, 2023
1 parent b40784d commit 6db0ecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/icons-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@ant-design/icons-svg": "^4.3.0",
"@babel/runtime": "^7.11.2",
"classnames": "^2.2.6",
"lodash.camelcase": "^4.3.0",
"lodash": "^4.17.21",
"rc-util": "^5.31.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/icons-react/src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { generate as generateColor } from '@ant-design/colors';
import type { AbstractNode, IconDefinition } from '@ant-design/icons-svg/lib/types';
import camelCase from 'lodash.camelcase';
import camelCase from 'lodash/camelCase';
import { updateCSS } from 'rc-util/lib/Dom/dynamicCSS';
import { getShadowRoot } from 'rc-util/lib/Dom/shadow';
import warn from 'rc-util/lib/warning';
Expand Down

0 comments on commit 6db0ecb

Please sign in to comment.