Wizard: Update AWS sources filtering
Same issue as in #3220. The list of sources did refetch, but did not re-render.
This commit is contained in:
parent
419c76fda6
commit
24fdc1147f
1 changed files with 3 additions and 2 deletions
|
|
@ -60,10 +60,11 @@ export const AwsSourcesSelect = () => {
|
|||
setSelectOptions(filteredSources);
|
||||
}
|
||||
|
||||
// This useEffect hook should run *only* on when the filter value changes.
|
||||
// This useEffect hook should run *only* on when the filter value
|
||||
// or the original array of sources changes.
|
||||
// eslint's exhaustive-deps rule does not support this use.
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [filterValue]);
|
||||
}, [filterValue, sources]);
|
||||
|
||||
const onInputClick = () => {
|
||||
if (!isOpen) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue