Skip to content

Commit

Permalink
fix(warning): mark as UNSAFE component will mount
Browse files Browse the repository at this point in the history
it removes warnings in Drive cause by Searchbar
  • Loading branch information
trollepierre committed Aug 24, 2022
1 parent 73378dd commit 31828fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SearchBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class SearchBar extends Component {

sources = []

componentWillMount() {
UNSAFE_componentWillMount() {
this.debouncedOnSuggestionsFetchRequested = debounce(
this.onSuggestionsFetchRequested,
250
Expand Down

0 comments on commit 31828fb

Please sign in to comment.