21037: fixed most of the linter warnings Arvados-DCO-1.1-Signed-off-by: Lisa Knox...
[arvados.git] / services / workbench2 / src / components / search-input / search-input.tsx
index 52ed281c7616bf7cd1cdc934e0948cca660a36ac..4ae3ea9ef6bf302f76a69bcd225d8c178ee603c6 100644 (file)
@@ -46,6 +46,7 @@ export const SearchInput = (props: SearchInputProps) => {
             setValue("");
             clearTimeout(timeout);
         };
+        // eslint-disable-next-line react-hooks/exhaustive-deps
     }, [props.value, props.label]); 
 
     useEffect(() => {
@@ -54,6 +55,7 @@ export const SearchInput = (props: SearchInputProps) => {
             setSelfClearProp(props.selfClearProp);
             handleChange({ target: { value: "" } } as any);
         }
+        // eslint-disable-next-line react-hooks/exhaustive-deps
     }, [props.selfClearProp]); 
 
     const handleSubmit = (event: React.FormEvent<HTMLElement>) => {