From be7efc0d32f5229885125050f99d052b1b20ff0b Mon Sep 17 00:00:00 2001 From: SD Date: Wed, 16 Oct 2024 21:48:56 +0400 Subject: [PATCH 1/2] 0.0.4 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 87a7bdc..ba6db99 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 272bce1..e605434 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", From 4ac2740942de9e76bb98ee10a83ee1871035dc27 Mon Sep 17 00:00:00 2001 From: SD Date: Thu, 17 Oct 2024 13:22:22 +0400 Subject: [PATCH 2/2] fix: fix sessions path --- src/app/[locale]/account/(simple)/sessions/page.ts | 2 +- src/components/Page/Header/HeaderAuthLinks.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)}