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:
@@ -70,6 +70,8 @@ class Search extends React.PureComponent {
|
||||
|
||||
handleSubmit = () => {
|
||||
this.props.onSubmit()
|
||||
this.context.router.history.push(`/search?q=${this.props.value}`)
|
||||
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user