mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-25 20:29:45 -04:00
Fix argument name
Thanks @mewtaylor!
This commit is contained in:
parent
405763246d
commit
6019726453
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ var Search = injectIntl(React.createClass({
|
|||
term = decodeURI(term.split('+').join(' '));
|
||||
this.props.dispatch(navigationActions.setSearchTerm(term));
|
||||
},
|
||||
componentDidUpdate: function (nextProps) {
|
||||
if (this.props.searchTerm !== nextProps.searchTerm) this.getSearchMore();
|
||||
componentDidUpdate: function (prevProps) {
|
||||
if (this.props.searchTerm !== prevProps.searchTerm) this.getSearchMore();
|
||||
},
|
||||
getSearchMore: function () {
|
||||
var termText = '';
|
||||
|
|
Loading…
Add table
Reference in a new issue