diff --git a/components/Search.tsx b/components/Search.tsx index 8e3122291..93c535287 100644 --- a/components/Search.tsx +++ b/components/Search.tsx @@ -43,12 +43,6 @@ export default function Search({ query, total }: Props) { } }, [isApple]); - useEffect(() => { - if (inputRef?.current && !search) { - inputRef.current.clear(); - } - }, [search]); - const typingCallback = useDebouncedCallback((text: string) => { void replace(urlWithQuery('/', { ...query, search: text, offset: null })); }, 200);