Compare commits
No commits in common. "a39f53c57db830895aa7b2d24e41a0ef42936ecb" and "d5808e96db75e3e101bcc479dc00aad29cd4f6d3" have entirely different histories.
a39f53c57d
...
d5808e96db
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "bbuddy-ui",
|
"name": "bbuddy-ui",
|
||||||
"version": "0.0.4",
|
"version": "0.0.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bbuddy-ui",
|
"name": "bbuddy-ui",
|
||||||
"version": "0.0.4",
|
"version": "0.0.3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/cssinjs": "^1.18.1",
|
"@ant-design/cssinjs": "^1.18.1",
|
||||||
"@ant-design/icons": "^5.2.6",
|
"@ant-design/icons": "^5.2.6",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bbuddy-ui",
|
"name": "bbuddy-ui",
|
||||||
"version": "0.0.4",
|
"version": "0.0.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 4200",
|
"dev": "next dev -p 4200",
|
||||||
|
|
|
@ -8,5 +8,5 @@ import { SessionType } from '../../../../../types/sessions';
|
||||||
export default function SessionsMainPage() {
|
export default function SessionsMainPage() {
|
||||||
const [token] = useLocalStorage(AUTH_TOKEN_KEY, '');
|
const [token] = useLocalStorage(AUTH_TOKEN_KEY, '');
|
||||||
|
|
||||||
return token ? redirect(`sessions/${SessionType.UPCOMING}`) : null;
|
return token ? redirect(SessionType.UPCOMING) : null;
|
||||||
};
|
};
|
||||||
|
|
|
@ -38,7 +38,7 @@ function HeaderAuthLinks ({
|
||||||
return token
|
return token
|
||||||
? (
|
? (
|
||||||
<li>
|
<li>
|
||||||
<Link href={'/account/sessions' as any} className={pathname === 'account' ? 'active' : ''}>
|
<Link href={'/account/sessions/upcoming' as any} className={pathname === 'account' ? 'active' : ''}>
|
||||||
{i18nText('account', locale)}
|
{i18nText('account', locale)}
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue