openwisp / openwisp-wifi-login-pages

Configurable captive page for public/private WiFi services providing login, sign up, social login, SMS verification, change password, reset password, change phone number and more.
https://openwisp.io/docs/dev/wifi-login-pages/
GNU General Public License v3.0
127 stars 76 forks source link

[bug] React state update warning on phone number verification page #668

Open pandafy opened 1 year ago

pandafy commented 1 year ago

When reloading the phone number verification page, a warning is displayed in the console indicating a React state update on an unmounted component.

Steps to replicate:

  1. Enable phone verification in organization config in OWLP and enable SMS verification in organization settings in OpenWISP Radius.
  2. Sign-up using the phone verification
  3. Reload the page.

Expected Result: No warning should be displayed in the console.

Actual Result: The following warning message appears in the console:

Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
    in Status (created by Connect(Status))
    in Connect(Status) (created by OrganizationWrapper)
    in Suspense (created by OrganizationWrapper)

Originally posted by @nemesifier in https://github.com/openwisp/openwisp-wifi-login-pages/pull/665#pullrequestreview-1501709791

Mitansh2005 commented 1 year ago

Hey, I m new to contributing to open source can you just tell me where to find the file to this issue in codel me where to find the file to this issue in code

SubstantialCattle5 commented 7 months ago

hey @nemesifier can i be assigned this isseue?