Merge pull request #125 from lbryio/fix-null-search

Fix search on pages other than Discover
This commit is contained in:
alexliebowitz 2017-01-04 15:28:10 -05:00 committed by GitHub
commit a6b7b3de5a

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);
}
},