260508_06_ENH: 새로고침 시 로그인 풀리는 문제 수정 중

This commit is contained in:
2026-05-08 10:57:59 +09:00
parent 5fe38e1c90
commit b3c9a8f6ee

View File

@@ -52,6 +52,10 @@ const MainLayout = ({ children }: MainLayoutProps) => {
return () => window.removeEventListener("auth:expired", handleAuthExpired);
}, [logout]);
useEffect(() => {
console.log(auth)
}, [auth.user]);
if(!isMounted) return null;
return (