Remove deprecated (UNSAVE_) methods in ContactMap component #117
Labels
enhancement
groomed
The issue has been groomed and should be in a good shape.
hacktoberfest
help wanted
refactoring
up-for-grabs
Motivation
As a followup for issue #97, there is one component left with lifecycle method with prefix UNSAVE. In the react v17, it is required to remove those methods, because they are about to be deleted.
Proposed solution
Use different lifecycle methods as a substitution for the deprecated ones.
There are 2 occurrences of
UNSAFE_componentWillUpdate
and one ofUNSAFE_componentWillReceiveProps
.Additional context
Current features on Contacts page:
If a user clicks on the address on Contacts (/contacts) page, the page is scrolled to the map and the address is focused on the map. Event when switching the languages.
See also related issues #97, #105, #99 for more information.
The text was updated successfully, but these errors were encountered: