diff --git a/src/app/[locale]/account/(simple)/sessions/page.ts b/src/app/[locale]/account/(simple)/sessions/page.ts index 18c8a76..812e262 100644 --- a/src/app/[locale]/account/(simple)/sessions/page.ts +++ b/src/app/[locale]/account/(simple)/sessions/page.ts @@ -8,5 +8,5 @@ import { SessionType } from '../../../../../types/sessions'; export default function SessionsMainPage() { const [token] = useLocalStorage(AUTH_TOKEN_KEY, ''); - return token ? redirect(SessionType.UPCOMING) : null; + return token ? redirect(`sessions/${SessionType.UPCOMING}`) : null; }; diff --git a/src/components/Page/Header/HeaderAuthLinks.tsx b/src/components/Page/Header/HeaderAuthLinks.tsx index d8e3d5e..8d0fc7a 100644 --- a/src/components/Page/Header/HeaderAuthLinks.tsx +++ b/src/components/Page/Header/HeaderAuthLinks.tsx @@ -38,7 +38,7 @@ function HeaderAuthLinks ({ return token ? (