260617_01_ENH: 배정 테스트를 위해 개발 중도 커밋
This commit is contained in:
@@ -27,7 +27,7 @@ const MainLayout = ({ children }: MainLayoutProps) => {
|
||||
setUserInfo(auth.user);
|
||||
}
|
||||
else{
|
||||
//router.replace("/logout");
|
||||
router.replace("/logout");
|
||||
}
|
||||
}, [auth.user, mounted, router])
|
||||
|
||||
@@ -39,9 +39,9 @@ const MainLayout = ({ children }: MainLayoutProps) => {
|
||||
<div
|
||||
className="bg-gray-50 flex flex-col min-h-screen"
|
||||
>
|
||||
{/* 헤더 - 고정 폰트 크기 */}
|
||||
{/* 헤더 - 고정 높이 */}
|
||||
<Header
|
||||
isMonitoring={isMonitoring}
|
||||
isMonitoring={mounted ? isMonitoring : false}
|
||||
userInfo={userInfo}
|
||||
activeTopId={activeTop.id}
|
||||
onNavigate={movePage}
|
||||
@@ -49,7 +49,7 @@ const MainLayout = ({ children }: MainLayoutProps) => {
|
||||
|
||||
{/* 본문 */}
|
||||
<div className="flex flex-1 min-h-0">
|
||||
{/* 메인 콘텐츠만 가변 폰트 크기 적용 */}
|
||||
{/* 메인 콘텐츠만 가변 높이 적용 */}
|
||||
<main className="flex-1 p-4">
|
||||
{children}
|
||||
</main>
|
||||
@@ -59,3 +59,4 @@ const MainLayout = ({ children }: MainLayoutProps) => {
|
||||
};
|
||||
|
||||
export default MainLayout;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user