DiscoverPage: pass query into handleSearchChanged() on mount
This commit is contained in:
parent
5a9d095a44
commit
160c6fd407
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue