Skip to content

Commit

Permalink
revert unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Apr 8, 2021
1 parent d171fd3 commit 00af442
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,13 @@ export default class IndexPatternSelect extends Component<IndexPatternSelectInte
}
}, 300);

fetchOptions = (searchValue: string) => {
fetchOptions = (searchValue = '') => {
this.setState(
{
isLoading: true,
searchValue,
},
() => {
this.debouncedFetch(searchValue);
}
this.debouncedFetch.bind(null, searchValue)
);
};

Expand Down

0 comments on commit 00af442

Please sign in to comment.