fix: Stale JSDoc in navigateToStakePage refers to '/stake' not '/app/stake' (#509)

This commit is contained in:
openhands 2026-03-13 10:37:14 +00:00
parent f1b64a448f
commit a18512a644

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> {