diff --git a/src/components/SearchBar.jsx b/src/components/SearchBar.jsx index 5a0b4051..8001b198 100644 --- a/src/components/SearchBar.jsx +++ b/src/components/SearchBar.jsx @@ -105,7 +105,7 @@ class SearchBar extends Component { sources = [] - componentWillMount() { + UNSAFE_componentWillMount() { this.debouncedOnSuggestionsFetchRequested = debounce( this.onSuggestionsFetchRequested, 250