You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The call to setState in the onload-handler should be guarded by isMounted. My app was adding some images and removing them due to ajax-updates before the image could be loaded. Thus the call inside onload was trying to set the state of an unmounted component.
The call to
setState
in theonload
-handler should be guarded byisMounted
. My app was adding some images and removing them due to ajax-updates before the image could be loaded. Thus the call insideonload
was trying to set the state of an unmounted component.The text was updated successfully, but these errors were encountered: