Skip to content

Commit cdaa5e6

Browse files
Merge pull request #12 from abhinandan13jan/remove-certificates
feat(certificates): remove certificates pages and nav item
2 parents a8f2c55 + 763c2f1 commit cdaa5e6

File tree

6 files changed

+0
-412
lines changed

6 files changed

+0
-412
lines changed

client/src/app/Routes.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ import { Bullseye, Spinner } from "@patternfly/react-core";
66
import { ErrorFallback } from "./components/ErrorFallback";
77

88
const Overview = lazy(() => import("./pages/Overview"));
9-
const Certificates = lazy(() => import("./pages/Certificates"));
109
const TrustRoot = lazy(() => import("./pages/TrustRoot"));
1110

1211
export const AppRoutes = () => {
1312
const allRoutes = useRoutes([
1413
{ path: "/", element: <Overview /> },
15-
{ path: "/certificates", element: <Certificates /> },
1614
{ path: "/trust-root", element: <TrustRoot /> },
1715
]);
1816

client/src/app/layout/sidebar.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ export const SidebarApp: React.FC = () => {
2323
Overview
2424
</NavLink>
2525
</li>
26-
<li className={nav.navItem}>
27-
<NavLink
28-
to="/certificates"
29-
className={({ isActive }) => {
30-
return css(LINK_CLASS, isActive ? ACTIVE_LINK_CLASS : "");
31-
}}
32-
>
33-
Certificates
34-
</NavLink>
35-
</li>
3626
<li className={nav.navItem}>
3727
<NavLink
3828
to="/trust-root"

client/src/app/pages/Certificates/Certificates.data.tsx

Lines changed: 0 additions & 45 deletions
This file was deleted.

client/src/app/pages/Certificates/Certificates.tsx

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)