planet-webapp
planet-webapp copied to clipboard
Add request cancellation handling in UpdateAddressType component
trafficstars
In PR #2286 (https://github.com/Plant-for-the-Planet-org/planet-webapp/pull/2286), it was suggested to consider adding request cancellation handling in the updateAddress function of the UpdateAddressType component to prevent potential memory leaks or state updates on unmounted components.
See the discussion here: https://github.com/Plant-for-the-Planet-org/planet-webapp/pull/2286#discussion_r1881378912
Requested by @mohitb35.