regen-network / regen-web

:seedling: Website and marketplace application

Home Page:https://app.regen.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Login and create an off-chain project from https://dev.app.regen.network/profile/projects
  2. Go through all the project creation steps
  3. Go back to https://dev.app.regen.network/profile/projects and try to edit the project you just created
  4. 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