Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount: function() {
searchStore.on(actionsConstants.SEARCH_START, this.waitResults);
searchStore.on(actionsConstants.SEARCH_RESULTS, this.loadResutls);
searchStore.on(actionsConstants.SEARCH_ERROR, this.showError);
},
componentWillUnmount: function() {
componentDidMount: function() {
searchStore.on(actionsConstants.SEARCH_START, this.waitResults);
searchStore.on(actionsConstants.SEARCH_RESULTS, this.loadResutls);
searchStore.on(actionsConstants.SEARCH_ERROR, this.showError);
},
componentWillUnmount: function() {
componentDidMount: function() {
searchStore.on(actionsConstants.SEARCH_START, this.waitResults);
searchStore.on(actionsConstants.SEARCH_RESULTS, this.loadResutls);
searchStore.on(actionsConstants.SEARCH_ERROR, this.showError);
},
componentWillUnmount: function() {