Skip to content

Commit

Permalink
fix: 렌더링 수정 (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
lurgi authored Aug 23, 2024
1 parent 4ba8140 commit 581210c
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions frontend/src/pages/Dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,27 @@ export default function Dashboard() {
</Tab.TabPanel>
)}

<Tab.TabPanel isVisible={currentMenu === '모집 과정 관리'}>
<ProcessManageBoard
dashboardId={dashboardId}
postId={postId}
processes={processes}
/>
</Tab.TabPanel>

<Tab.TabPanel isVisible={currentMenu === '공고 관리'}>
<PostManageBoard postId={postId} />
</Tab.TabPanel>

<Tab.TabPanel isVisible={currentMenu === '지원서 관리'}>
<ApplyManagement isVisible={currentMenu === '지원서 관리'} />
</Tab.TabPanel>
{currentMenu === '모집 과정 관리' && (
<Tab.TabPanel isVisible={currentMenu === '모집 과정 관리'}>
<ProcessManageBoard
dashboardId={dashboardId}
postId={postId}
processes={processes}
/>
</Tab.TabPanel>
)}

{currentMenu === '공고 관리' && (
<Tab.TabPanel isVisible={currentMenu === '공고 관리'}>
<PostManageBoard postId={postId} />
</Tab.TabPanel>
)}

{currentMenu === '지원서 관리' && (
<Tab.TabPanel isVisible={currentMenu === '지원서 관리'}>
<ApplyManagement isVisible={currentMenu === '지원서 관리'} />
</Tab.TabPanel>
)}
</S.AppContainer>
);
}

0 comments on commit 581210c

Please sign in to comment.