Skip to content

Commit

Permalink
update dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
GarvitDadheech authored and alisman committed Jan 10, 2025
1 parent 040ae83 commit f5ca3fb
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 f5ca3fb

Please sign in to comment.