Skip to content

Commit 6b6dfba

Browse files
committed
fix: 테스트용 콘솔
1 parent b3adf17 commit 6b6dfba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/common/Gnb.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Link from 'next/link';
44
import { usePathname, useRouter } from 'next/navigation';
55
import React, { useCallback, useEffect, useRef, useState } from 'react';
66
import { useAuthStore } from '@/store/userAuth.store';
7-
import { getCookie } from '@/utils/cookie';
7+
import { getCookie } from '@/utils/cookies';
88
import { refreshAccessToken } from '@/service/auth';
99

1010
const Gnb = () => {

src/utils/localStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { getCookie, removeCookie, setCookie } from "./cookie";
22

3-
const TOKEN_EXPIRATION_TIME = 60 * 60 * 1000;
3+
const TOKEN_EXPIRATION_TIME = 60 * 1000;
44

55
export const setToken = (token: string) => {
66
const expires = new Date(Date.now() + TOKEN_EXPIRATION_TIME);

0 commit comments

Comments
 (0)