Skip to content

Commit 9015066

Browse files
committed
refactor: useId instead
1 parent f3670b0 commit 9015066

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
"dependencies": {
4747
"classnames": "2.x",
48-
"@rc-component/select": "~1.0.2",
48+
"@rc-component/select": "~1.0.7",
4949
"@rc-component/tree": "~1.0.1",
5050
"@rc-component/util": "^1.2.1"
5151
},

src/TreeSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { BaseSelectPropsWithoutPrivate, BaseSelectRef } from '@rc-component/select';
22
import { BaseSelect } from '@rc-component/select';
3-
import useId from '@rc-component/select/lib/hooks/useId';
3+
import useId from '@rc-component/util/lib/hooks/useId';
44
import type { IconType } from '@rc-component/tree/lib/interface';
55
import type { ExpandAction } from '@rc-component/tree/lib/Tree';
66
import { conductCheck } from '@rc-component/tree/lib/utils/conductUtil';

0 commit comments

Comments
 (0)