Skip to content

Commit

Permalink
fix: fixed searchbar onSubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
shaun-jacks committed May 31, 2020
1 parent 25d1bfd commit 1e2422c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Search/InputSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export default connectSearchBox(
({ refine, focus, setFocus }: InputSearchProps) => (
<Styled sx={InputStyles(focus)}>
{focus ? (
<form>
<form
onSubmit={(e) => {
e.preventDefault();
}}
>
<input
type="text"
placeholder="Search"
Expand Down

0 comments on commit 1e2422c

Please sign in to comment.