DiscoverPage: pass query into handleSearchChanged() on mount

This commit is contained in:
Alex Liebowitz 2017-01-04 11:51:58 -05:00
parent 5a9d095a44
commit 160c6fd407

View file

@ -292,7 +292,7 @@ var DiscoverPage = React.createClass({
document.title = "Discover";
if (this.props.query) {
// Rendering with a query already typed
this.handleSearchChanged();
this.handleSearchChanged(this.props.query);
}
},