Skip to content

Commit

Permalink
chore: bump ver (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ authored Sep 20, 2023
1 parent 48c3894 commit 511765a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "2.x",
"rc-select": "~14.8.0",
"rc-select": "~14.9.0",
"rc-tree": "~5.7.0",
"rc-util": "^5.16.1"
}
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useFilterTreeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default (
}

function dig(list: DefaultOptionType[], keepAll: boolean = false) {
return list.reduce((total, dataNode) => {
return list.reduce<DefaultOptionType[]>((total, dataNode) => {
const children = dataNode[fieldChildren];

const match = keepAll || filterOptionFunc(searchValue, fillLegacyProps(dataNode));
Expand Down

0 comments on commit 511765a

Please sign in to comment.