diff --git a/app/javascript/gabsocial/components/search.js b/app/javascript/gabsocial/components/search.js index b024fbd8..46d2214f 100644 --- a/app/javascript/gabsocial/components/search.js +++ b/app/javascript/gabsocial/components/search.js @@ -70,6 +70,8 @@ class Search extends React.PureComponent { handleSubmit = () => { this.props.onSubmit() + this.context.router.history.push(`/search?q=${this.props.value}`) + } render() {