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

Mark v2-->v3 upgraded extensions as "dirty" in the redux state #2315

Closed
BLoe opened this issue Jan 7, 2022 · 0 comments · Fixed by #2353
Closed

Mark v2-->v3 upgraded extensions as "dirty" in the redux state #2315

BLoe opened this issue Jan 7, 2022 · 0 comments · Fixed by #2353
Assignees
Milestone

Comments

@BLoe
Copy link
Collaborator

BLoe commented Jan 7, 2022

Todd's suggestions from Slack:

I think you’d just need to useEffect on the Formik value to call a redux action? (edited)

What you could potentially do is — have a formik flag for if the extension was upgraded.
Then use that to call a redux action “markUpgraded” that sets both a show alert and show dirty flag on the redux state

And if the user closes the alert it would change the redux state, not the formik state

@BLoe BLoe added this to the 1.5.X milestone Jan 7, 2022
@BLoe BLoe self-assigned this Jan 7, 2022
@twschiller twschiller modified the milestones: 1.5.X, 1.5.1 Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants