Skip to content

Commit 98f5365

Browse files
authored
chore: bump version (#429)
1 parent be0cc19 commit 98f5365

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@babel/runtime": "^7.12.5",
7474
"array-tree-filter": "^2.1.0",
7575
"classnames": "^2.3.1",
76-
"rc-select": "~14.8.0",
76+
"rc-select": "~14.9.0",
7777
"rc-tree": "~5.7.0",
7878
"rc-util": "^5.35.0"
7979
},

src/hooks/useSearchConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as React from 'react';
21
import warning from 'rc-util/lib/warning';
2+
import * as React from 'react';
33
import type { CascaderProps, ShowSearchType } from '../Cascader';
44

55
// Convert `showSearch` to unique config
@@ -21,7 +21,7 @@ export default function useSearchConfig(showSearch?: CascaderProps['showSearch']
2121
};
2222
}
2323

24-
if (searchConfig.limit <= 0) {
24+
if ((searchConfig.limit as number) <= 0) {
2525
delete searchConfig.limit;
2626

2727
if (process.env.NODE_ENV !== 'production') {

0 commit comments

Comments
 (0)