fix: Stale JSDoc in navigateToStakePage refers to '/stake' not '/app/stake' (#509)
This commit is contained in:
parent
f1b64a448f
commit
a18512a644
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