Fixed issue with search icon in the search bar submitting the search

• Fixed:
- issue with search icon in the search bar submitting the search
This commit is contained in:
Developer 2021-02-10 12:34:44 -05:00
parent 05cfd3e06d
commit ab2521b880
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ class Search extends React.PureComponent {
handleSubmit = () => {
this.props.onSubmit()
this.context.router.history.push(`/search?q=${this.props.value}`)
}
render() {