Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,17 @@ const App = () => {
path='account-edit'
element={<AccountEditTab />}
/>
<Route
path='application-edit'
element={<CreateApplicationForm />}
/>
</Route>
</Routes>
</PrivateRoute>
</AdminClubProvider>
}
/>
<Route path='view-application' element={<ApplicationForm />} />
{/*TODO: CreateForm은 관리자 기능이므로 추후 /admin/* 경로 안으로 이동 필요*/}
<Route
path='create-application'
element={<CreateApplicationForm />}
/>
<Route path='*' element={<Navigate to='/' replace />} />
</Routes>
</BrowserRouter>
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/pages/AdminPage/components/SideBar/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const tabs = [
{ label: '모집 정보 수정', path: '/admin/recruit-edit' },
{ label: '활동 사진 수정', path: '/admin/photo-edit' },
{ label: '계정 관리', path: '/admin/account-edit' },
{ label: '지원서 관리', path: '/admin/application-edit' },
];

const SideBar = ({ clubLogo, clubName }: SideBarProps) => {
Expand Down Expand Up @@ -62,7 +63,8 @@ const SideBar = ({ clubLogo, clubName }: SideBarProps) => {
<Styled.SidebarButton
key={tab.label}
className={activeTab === index ? 'active' : ''}
onClick={() => handleTabClick(tab)}>
onClick={() => handleTabClick(tab)}
>
{tab.label}
</Styled.SidebarButton>
))}
Expand Down