Skip to content

Commit c1c9ac5

Browse files
committed
feat: test
1 parent 87c0923 commit c1c9ac5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/hooks/useSearchOptions.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ export default (
5454
[SEARCH_MARK]: connectedPathOptions,
5555
[fieldNames.children]: undefined,
5656
});
57-
}
58-
if (children) {
57+
} else if (children) {
5958
dig(
6059
option[fieldNames.children] as DefaultOptionType[],
6160
connectedPathOptions,

0 commit comments

Comments
 (0)