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:
commit
68c0769b5f
1 changed files with 1 additions and 1 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue