diff --git a/src/components/SearchInput/SearchInput.tsx b/src/components/SearchInput/SearchInput.tsx index 53ad292..b55a7ff 100644 --- a/src/components/SearchInput/SearchInput.tsx +++ b/src/components/SearchInput/SearchInput.tsx @@ -12,6 +12,7 @@ const SearchInput: React.FC = () => { const [value, setValue] = useState(""); const [query, setQuery] = useRecoilState(searchQueryAtom); + // eslint-disable-next-line react-hooks/exhaustive-deps useEffect(() => void (value !== query && setValue(query)), [query]); const [isReady] = useDebounce(