fix: handle eslint warning

This commit is contained in:
JimmFly
2022-12-16 14:32:15 +08:00
parent 8a3f239dd5
commit 11493ef2ec
@@ -21,7 +21,9 @@ export const Input = (props: {
}, [inputRef]);
useEffect(() => {
return setInputValue(props.query);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (
<StyledInputContent>
<StyledLabel htmlFor=":r5:">