Skip to content

Commit

Permalink
Fix search command not disappearing
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Sep 5, 2023
1 parent e4174b4 commit 167fa70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/search-form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ const SearchForm = forwardRef((props, ref) => {
focusItem.click();
}
setSearchMenuOpen(false);
props?.onSubmit?.(e);
}
break;
}
Expand Down

0 comments on commit 167fa70

Please sign in to comment.