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:
mgold1234 2023-11-05 11:56:23 +02:00 committed by Klara Simickova
parent 1d963b218a
commit 536312680d
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ const RegionsSelect = ({ composeId, handleClose }: RegionsSelectPropTypes) => {
}
setSelectOptions(newSelectOptions);
}, [inputValue]);
}, [inputValue, isOpen, initialRegions]);
const onTextInputChange = (
_event: React.FormEvent<HTMLInputElement>,