260508_06_ENH: 새로고침 시 로그인 풀리는 문제 수정 중
This commit is contained in:
@@ -52,6 +52,10 @@ const MainLayout = ({ children }: MainLayoutProps) => {
|
|||||||
return () => window.removeEventListener("auth:expired", handleAuthExpired);
|
return () => window.removeEventListener("auth:expired", handleAuthExpired);
|
||||||
}, [logout]);
|
}, [logout]);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
console.log(auth)
|
||||||
|
}, [auth.user]);
|
||||||
|
|
||||||
if(!isMounted) return null;
|
if(!isMounted) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user