diff --git a/package-lock.json b/package-lock.json index 55ad9d1..a9ddb6f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bbuddy-ui", - "version": "0.0.3", + "version": "0.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bbuddy-ui", - "version": "0.0.3", + "version": "0.0.4", "dependencies": { "@ant-design/cssinjs": "^1.18.1", "@ant-design/icons": "^5.2.6", diff --git a/package.json b/package.json index 55b5ee2..ddc0c3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bbuddy-ui", - "version": "0.0.3", + "version": "0.0.4", "private": true, "scripts": { "dev": "next dev -p 4200", 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 ? (
  • - + {i18nText('account', locale)}