diff --git a/packages/common/components/src/ui/header/index.tsx b/packages/common/components/src/ui/header/index.tsx index 69e2a7196..49c080e5c 100644 --- a/packages/common/components/src/ui/header/index.tsx +++ b/packages/common/components/src/ui/header/index.tsx @@ -82,13 +82,13 @@ export function Header({ viewOnly }: { viewOnly?: boolean }) { // 에러가 나도 계속 진행 } finally { // 2. 클라이언트 쿠키 삭제 (백업) - clearClientCookies(); + // clearClientCookies(); // 3. 로컬/세션 스토리지 정리 - if (typeof window !== "undefined") { - localStorage.clear(); - sessionStorage.clear(); - } + // if (typeof window !== "undefined") { + // localStorage.clear(); + // sessionStorage.clear(); + // } // 4. 로그인 페이지로 리다이렉트 window.location.href = "/auth/login"; @@ -96,6 +96,7 @@ export function Header({ viewOnly }: { viewOnly?: boolean }) { }; // 쿠키 삭제 헬퍼 함수 + // eslint-disable-next-line @typescript-eslint/no-unused-vars const clearClientCookies = () => { const actualHost = window.location.hostname;