Caching issue when trying to edit a published off chain project
blushi opened this issue · comments
Describe the bug
Trying to edit an off chain project that has been published goes to the project creation flow instead of the project edit flow.
To Reproduce
- Login and create an off-chain project from https://dev.app.regen.network/profile/projects
- Go through all the project creation steps
- Go back to https://dev.app.regen.network/profile/projects and try to edit the project you just created
- It will go to the project creation flow instead of the edit flow
Additional context
This is a caching issue. Reloading the page and trying to edit the project again solves this. We should invalidate the react queries that happen on /profile/projects when the project is published.
ref: #2248 (comment)
For Admin Use
- Not duplicate issue
- Appropriate labels and zenhub epics applied
- Appropriate contributors tagged