cleaning
This commit is contained in:
parent
4d7e72970f
commit
8c8f3f546e
1 changed files with 3 additions and 4 deletions
|
|
@ -178,6 +178,9 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
|
|||
};
|
||||
})
|
||||
);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
@ -194,10 +197,6 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
|
|||
});
|
||||
|
||||
useEffect(() => {
|
||||
console.log(
|
||||
"downshiftProps.highlightedIndex",
|
||||
downshiftProps.highlightedIndex
|
||||
);
|
||||
if (downshiftProps.highlightedIndex < 0) {
|
||||
downshiftProps.setHighlightedIndex(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue