fix some react-hooks/exhaustive-deps lint warning message
this commit fixes some react-hooks/exhaustive-deps linting warning message
This commit is contained in:
parent
1d963b218a
commit
536312680d
2 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ const RegionsSelect = ({ composeId, handleClose }: RegionsSelectPropTypes) => {
|
|||
}
|
||||
|
||||
setSelectOptions(newSelectOptions);
|
||||
}, [inputValue]);
|
||||
}, [inputValue, isOpen, initialRegions]);
|
||||
|
||||
const onTextInputChange = (
|
||||
_event: React.FormEvent<HTMLInputElement>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue