We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa3cfef commit 1cb2f88Copy full SHA for 1cb2f88
src/plugins/router/nav-guards.ts
@@ -89,6 +89,12 @@ function applyNetworkPathRedirects(router: Router): Router {
89
if (networkFromPath) {
90
const noNetworkChangeCallback = () => next();
91
const networkChangeCallback = () => {
92
+ /*
93
+ Edge case:
94
+ Clicking a pool link from the voting page changes networkId in localStorage so we have to ignore the hardRedirect to avoid losing the voting state
95
+ (when navigating to Edit votes)
96
+ */
97
+ if (to.fullPath === '/ethereum/vebal-voting') return next();
98
hardRedirectTo(`/#${to.fullPath}`);
99
};
100
0 commit comments