Merge pull request 'fix: Stale JSDoc in navigateToStakePage refers to '/stake' not '/app/stake' (#509)' (#682) from fix/issue-509 into master

Reviewed-on: https://codeberg.org/johba/harb/pulls/682
This commit is contained in:
johba 2026-03-13 11:49:21 +01:00
commit 68c0769b5f

View file

@ -16,7 +16,7 @@ import { getStackConfig } from '../../../tests/setup/stack';
/**
* Navigate to /app/stake, handling the auth guard's password gate if triggered.
* The guard redirects to /login when localStorage 'authentificated' is absent.
* After a successful login, router.push('/') causes '/' '/stake' redirect so
* After a successful login, router.push('/') causes '/' '/app/stake' redirect so
* we end up on the stake page without a second navigateSPA call.
*/
async function navigateToStakePage(page: Page): Promise<void> {