Skip to content

Commit 065b6c4

Browse files
authored
refactor: replace to rc-util omit react-component/util#194 (#163)
1 parent 0e7735c commit 065b6c4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
"dependencies": {
7272
"@babel/runtime": "^7.10.1",
7373
"classnames": "^2.2.6",
74-
"omit.js": "^2.0.2",
75-
"rc-util": "^5.6.2"
74+
"rc-util": "^5.7.0"
7675
}
7776
}

src/DrawerChild.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from 'react';
22
import classnames from 'classnames';
33
import getScrollBarSize from 'rc-util/lib/getScrollBarSize';
44
import KeyCode from 'rc-util/lib/KeyCode';
5-
import omit from 'omit.js';
5+
import omit from 'rc-util/lib/omit';
66

77
import { IDrawerChildProps } from './IDrawerPropTypes';
88

0 commit comments

Comments
 (0)