Closed thebho closed 7 years ago
Likely related to upgrading react-router
In prod it ask Are you sure you want to reload
and in dev it asks discard unsaved changes
When did we make that change?
I think the difference is that before, clicking navigating home did a full redirect, now I think it just changes the app state without doing a server call.
Expected Behavior
If I am editing or viewing an Annotation and I click the Codesplain home button, the annotations should be discarded
Current Behavior
The "edit-mode" or "view-mode" stays with the current annotation until I refresh the page
Steps to Reproduce (for bugs)
Codesplain
to navigate homeDiscard
unsaved changesThis is happening in Dev, but WAI in Prod