Skip to content

Commit f935b96

Browse files
committed
chore: hide unused routes for now
1 parent ea3a0b6 commit f935b96

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

src/app/routes.tsx

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import * as React from 'react';
22
import { Route, Routes } from 'react-router-dom';
3-
import { Dashboard } from '@app/Dashboard/Dashboard';
4-
import { GeneralSettings } from '@app/Settings/General/GeneralSettings';
5-
import { ProfileSettings } from '@app/Settings/Profile/ProfileSettings';
3+
// import { Dashboard } from '@app/Dashboard/Dashboard';
4+
// import { GeneralSettings } from '@app/Settings/General/GeneralSettings';
5+
// import { ProfileSettings } from '@app/Settings/Profile/ProfileSettings';
66
import { NotFound } from '@app/NotFound/NotFound';
77
import { TrustRootsPage } from './Trust/TrustRoots/TrustRootsPage';
88
import { TrustOverview } from './Trust/Overview/TrustOverview';
9-
import { ArtifactsPage } from './Artifacts/ArtifactsPage';
9+
// import { ArtifactsPage } from './Artifacts/ArtifactsPage';
1010
import { CertificatesPage } from './Trust/Certificates/CertificatesPage';
1111
import { certificates, columns } from './Trust/Certificates/Certificates.data';
1212

@@ -56,39 +56,39 @@ const routes: AppRouteConfig[] = [
5656
},
5757
],
5858
},
59-
{
60-
element: <ArtifactsPage />,
61-
exact: true,
62-
label: 'Artifacts',
63-
path: '/artifacts',
64-
title: 'Artifacts',
65-
},
66-
{
67-
label: 'Settings',
68-
routes: [
69-
{
70-
element: <GeneralSettings />,
71-
exact: true,
72-
label: 'General',
73-
path: '/settings/general',
74-
title: 'General Settings',
75-
},
76-
{
77-
element: <ProfileSettings />,
78-
exact: true,
79-
label: 'Profile',
80-
path: '/settings/profile',
81-
title: 'Profile Settings',
82-
},
83-
],
84-
},
85-
{
86-
element: <Dashboard />,
87-
exact: true,
88-
label: 'Dashboard',
89-
path: '/dashboard',
90-
title: 'RHTAS Console UI',
91-
},
59+
// {
60+
// element: <ArtifactsPage />,
61+
// exact: true,
62+
// label: 'Artifacts',
63+
// path: '/artifacts',
64+
// title: 'Artifacts',
65+
// },
66+
// {
67+
// label: 'Settings',
68+
// routes: [
69+
// {
70+
// element: <GeneralSettings />,
71+
// exact: true,
72+
// label: 'General',
73+
// path: '/settings/general',
74+
// title: 'General Settings',
75+
// },
76+
// {
77+
// element: <ProfileSettings />,
78+
// exact: true,
79+
// label: 'Profile',
80+
// path: '/settings/profile',
81+
// title: 'Profile Settings',
82+
// },
83+
// ],
84+
// },
85+
// {
86+
// element: <Dashboard />,
87+
// exact: true,
88+
// label: 'Dashboard',
89+
// path: '/dashboard',
90+
// title: 'RHTAS Console UI',
91+
// },
9292
];
9393

9494
const flattenedRoutes: IAppRoute[] = routes.reduce(

0 commit comments

Comments
 (0)