Skip to content

Commit

Permalink
lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
NancyAanchal committed Jul 19, 2024
1 parent b96e076 commit ec954d3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nepalingo-web/src/components/DictionarySearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ const DictionarySearchBar: React.FC<DictionarySearchBarProps> = ({
// Trigger re-fetch (not necessary for useSWR as it auto-updates)
};

const handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {
if (e.key === "Enter") {
handleSearchClick();
}
};


return (
<div className="flex flex-col items-center mt-5">
Expand Down

0 comments on commit ec954d3

Please sign in to comment.