Skip to content

Commit

Permalink
Fix catalog route regression
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
  • Loading branch information
awanlin committed Dec 1, 2023
1 parent f132dfe commit 64c7a1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -90,6 +90,7 @@ const app = createApp({

const routes = (
<FlatRoutes>
<Navigate key="/" to="catalog" replace />
<FeatureFlagged with="customizable-home-page-preview">
<Route path="/home" element={<HomepageCompositionRoot />}>
<CustomizableHomePage />
Expand All @@ -102,7 +103,7 @@ const routes = (
</FeatureFlagged>
<Route path="/api-docs" element={<ApiExplorerPage />} />
<Route
path="/"
path="/catalog"
element={<CatalogIndexPage initiallySelectedFilter="all" />}
/>
<Route
Expand Down

0 comments on commit 64c7a1a

Please sign in to comment.