Skip to content

Commit

Permalink
update dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
GarvitDadheech committed Jul 27, 2024
1 parent 9ca3198 commit f409bfd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/shared/components/query/StudySearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ export const StudySearch: FunctionComponent<StudySearchProps> = observer(

const onKeyDownSearchBox = useCallback(
(e: React.KeyboardEvent<HTMLInputElement>) => {
if ([13, 27].includes(e.keyCode)) {
store.setMenuOpen(false);
} else {
store.setMenuOpen(true);
}
},
[]
);
Expand Down

0 comments on commit f409bfd

Please sign in to comment.