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