From 64c7a1a16fe4a1d64a35083b44732e01e5487d09 Mon Sep 17 00:00:00 2001 From: Andre Wanlin Date: Fri, 1 Dec 2023 14:20:02 -0600 Subject: [PATCH 1/2] Fix catalog route regression Signed-off-by: Andre Wanlin --- packages/app/src/App.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/app/src/App.tsx b/packages/app/src/App.tsx index 1a87ccd69..05b9a66c8 100644 --- a/packages/app/src/App.tsx +++ b/packages/app/src/App.tsx @@ -17,7 +17,7 @@ import { CostInsightsProjectGrowthInstructionsPage, } from '@backstage/plugin-cost-insights'; import { ExplorePage } from '@backstage/plugin-explore'; -import { Route } from 'react-router'; +import { Navigate, Route } from 'react-router'; import { TechDocsIndexPage, TechDocsReaderPage, @@ -90,6 +90,7 @@ const app = createApp({ const routes = ( + }> @@ -102,7 +103,7 @@ const routes = ( } /> } /> Date: Sat, 2 Dec 2023 08:15:51 -0600 Subject: [PATCH 2/2] Update based on feedback Signed-off-by: Andre Wanlin --- packages/app/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/App.tsx b/packages/app/src/App.tsx index 05b9a66c8..abbf6abcc 100644 --- a/packages/app/src/App.tsx +++ b/packages/app/src/App.tsx @@ -90,7 +90,7 @@ const app = createApp({ const routes = ( - + } /> }>