Update the create-app template

This commit is contained in:
Dominik Henneke
2021-02-01 16:51:33 +01:00
parent 68dd79d83a
commit a346105b74
2 changed files with 2 additions and 8 deletions
+1
View File
@@ -1,5 +1,6 @@
---
'example-app': patch
'@backstage/create-app': patch
'@backstage/plugin-catalog-import': minor
---
@@ -4,7 +4,6 @@ import {
AlertDisplay,
OAuthRequestDialog,
SidebarPage,
createRouteRef,
FlatRoutes,
} from '@backstage/core';
import { apis } from './apis';
@@ -29,12 +28,6 @@ const AppProvider = app.getProvider();
const AppRouter = app.getRouter();
const deprecatedAppRoutes = app.getRoutes();
const catalogRouteRef = createRouteRef({
path: '/catalog',
title: 'Service Catalog',
});
const App = () => (
<AppProvider>
<AlertDisplay />
@@ -55,7 +48,7 @@ const App = () => (
/>
<Route
path="/catalog-import"
element={<ImportComponentRouter catalogRouteRef={catalogRouteRef} />}
element={<ImportComponentRouter />}
/>
<Route
path="/search"