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 = () => {
|
handleSubmit = () => {
|
||||||
this.props.onSubmit()
|
this.props.onSubmit()
|
||||||
|
this.context.router.history.push(`/search?q=${this.props.value}`)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|||||||
Reference in New Issue
Block a user