diff --git a/src/pages/SearchPage.js b/src/pages/SearchPage.js index 5d111e7c181f..12b0ed42f995 100755 --- a/src/pages/SearchPage.js +++ b/src/pages/SearchPage.js @@ -67,7 +67,6 @@ class SearchPage extends Component { this.selectReport = this.selectReport.bind(this); this.onChangeText = this.onChangeText.bind(this); this.updateOptions = this.updateOptions.bind(this); - this.debouncedUpdateOptions = _.debounce(this.updateOptions.bind(this), 75); this.state = { searchValue: '', recentReports: {}, @@ -85,7 +84,7 @@ class SearchPage extends Component { onChangeText(searchValue = '') { Report.searchInServer(searchValue); - this.setState({searchValue}, this.debouncedUpdateOptions); + this.setState({searchValue}, this.updateOptions); } /** @@ -190,7 +189,6 @@ class SearchPage extends Component {