Previously, when the publish button was pressed, the store was modified
directly to show the newly published dandiset. This meant the route was
not updated, which puts the page in a weird state.
Use the router to navigate to newly published dandisets instead of
modifying the state directly.
Previously, when the publish button was pressed, the store was modified directly to show the newly published dandiset. This meant the route was not updated, which puts the page in a weird state.
Use the router to navigate to newly published dandisets instead of modifying the state directly.
Fixes #579