From a194e3dcbcf1b3d784fd67d2c367d99a0d6a50e6 Mon Sep 17 00:00:00 2001 From: Julie Date: Fri, 16 Aug 2024 14:28:45 +0200 Subject: [PATCH] Make the standalone work with react-router-dom tweaks --- libs/ui-lib/lib/ocm/components/Routes.tsx | 4 ++-- .../ui-lib/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ui-lib/lib/ocm/components/Routes.tsx b/libs/ui-lib/lib/ocm/components/Routes.tsx index cf411bee78..f01d207a6e 100644 --- a/libs/ui-lib/lib/ocm/components/Routes.tsx +++ b/libs/ui-lib/lib/ocm/components/Routes.tsx @@ -29,13 +29,13 @@ export const UILibRoutes = ({ const routes = ( - }> + }> } /> } /> } /> {children} - } /> + } /> ); diff --git a/libs/ui-lib/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx b/libs/ui-lib/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx index d60426b208..c709c4dac2 100644 --- a/libs/ui-lib/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +++ b/libs/ui-lib/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx @@ -12,7 +12,7 @@ const ClusterBreadcrumbs = ({ clusterName }: { clusterName?: string }) => ( {(clusterName || isInOcm) && ( - Cluster List} /> + Clusters} /> {clusterName ? (