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