Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pandafy opened this issue Jun 28, 2023 · 2 comments
Open

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

pandafy opened this issue Jun 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@pandafy
Copy link
Member

pandafy commented Jun 28, 2023

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 #665 (review)

@pandafy pandafy added the bug Something isn't working label Jun 28, 2023
@Mitansh2005
Copy link

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
Copy link

hey @nemesifier can i be assigned this isseue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do (general)
Development

No branches or pull requests

3 participants