diff --git a/nepalingo-web/src/components/DictionarySearchBar.tsx b/nepalingo-web/src/components/DictionarySearchBar.tsx index f453ed1..7d4bd43 100644 --- a/nepalingo-web/src/components/DictionarySearchBar.tsx +++ b/nepalingo-web/src/components/DictionarySearchBar.tsx @@ -23,11 +23,7 @@ const DictionarySearchBar: React.FC = ({ // Trigger re-fetch (not necessary for useSWR as it auto-updates) }; - const handleKeyDown = (e: React.KeyboardEvent) => { - if (e.key === "Enter") { - handleSearchClick(); - } - }; + return (