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

Clean up recursive and dead state in redux #5336

Closed
oskarleonard opened this issue Sep 25, 2023 · 0 comments
Closed

Clean up recursive and dead state in redux #5336

oskarleonard opened this issue Sep 25, 2023 · 0 comments
Assignees
Milestone

Comments

@oskarleonard
Copy link
Contributor

Expected behavior

Users should not have dead or recursive state in redux

  1. We need to remove redux/blockChainApplications/applications/{network} if the network doesnt exists in redux/settings/customNetworks || src/modules/network/configuration/networks.js
  2. We need to loop through each customNetwork in redux/settings/customNetworks and remove any recursion, for example:
 NetworkA {name: 'a', NetworkA: {name: 'a', NetworkA: and so on...} }

Actual behavior

  • Playing around with custom network and adding applications might have caused dead and recursive state

Steps to reproduce

Which version(s) does this affect? (Environment, OS, etc...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants