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

Fix React warnings #23

Open
CeesJol opened this issue Dec 12, 2020 · 0 comments
Open

Fix React warnings #23

CeesJol opened this issue Dec 12, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@CeesJol
Copy link
Owner

CeesJol commented Dec 12, 2020

Steps to reproduce:

  • In a resume, create a new item and press Save
  • See warning in console: "react_devtools_backend.js:2430 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 a useEffect cleanup function."

Commenting out resetPopups() removes the warning, but still gives the warning if the popup is closed manually.

@CeesJol CeesJol added the bug Something isn't working label Dec 24, 2020
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
None yet
Development

No branches or pull requests

1 participant