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
18 changes: 0 additions & 18 deletions src/apps/admin/src/admin-app.routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,10 @@ const ManageUserPage: LazyLoadedComponent = lazyLoad(
() => import('./challenge-management/ManageUserPage'),
'ManageUserPage',
)
const ManageResourcePage: LazyLoadedComponent = lazyLoad(
() => import('./challenge-management/ManageResourcePage'),
'ManageResourcePage',
)
const ManageSubmissionPage: LazyLoadedComponent = lazyLoad(
() => import('./challenge-management/ManageSubmissionPage'),
'ManageSubmissionPage',
)
const AddResourcePage: LazyLoadedComponent = lazyLoad(
() => import('./challenge-management/AddResourcePage'),
'AddResourcePage',
)
const UserManagementPage: LazyLoadedComponent = lazyLoad(
() => import('./user-management/UserManagementPage'),
'UserManagementPage',
Expand Down Expand Up @@ -139,16 +131,6 @@ export const adminRoutes: ReadonlyArray<PlatformRoute> = [
id: 'manage-user',
route: ':challengeId/manage-user',
},
{
element: <ManageResourcePage />,
id: 'manage-resource',
route: ':challengeId/manage-resource',
},
{
element: <AddResourcePage />,
id: 'add-resource',
route: ':challengeId/manage-resource/add',
},
{
element: <ManageSubmissionPage />,
id: 'manage-resource',
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,6 @@ const Actions: FC<{
>
Users
</li>
<li
onClick={function onClick() {
navigate(`${props.challenge.id}/manage-resource`)
setOpenDropdown(false)
}}
>
Resources
</li>
{isMM && (
<li
onClick={function onClick() {
Expand Down
Loading