diff --git a/frontend/src/components/Home/Autocomplete.tsx b/frontend/src/components/Home/Autocomplete.tsx index c1d43de7..cc2b10f3 100644 --- a/frontend/src/components/Home/Autocomplete.tsx +++ b/frontend/src/components/Home/Autocomplete.tsx @@ -83,8 +83,8 @@ export default function Autocomplete() { } else if (event.key === 'Enter') { setFocus(true); history.push(`/search?q=${query}`); - setQuery(''); setOpen(false); + setQuery(''); } }