Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(navigation): implement contextual back navigation for Neuron's p…
…age (#6345) # Motivation The Neuron's page has two potential entry points: - The Staking page, accessed by clicking on any row in the `ProjectsTable`. - The Portfolio page, accessed by clicking on any of the stake tokens (#6342). This PR follows up on #6343 by redirecting users from the Neuron's page based on their entry method. # Changes - Uses the new store `neuronsPageOrigin` to determine the navigation point when returning from the Neurons page. # Tests - Split the current test into a check button and a navigation check that returns to the Staking page. - Add a unit test to verify that navigation is correct when coming from the Portfolio page. # Todos - [ ] Add entry to changelog (if necessary). Not necessary
- Loading branch information