fix: adjust code after rebasing

This commit is contained in:
Ivan Shmidt
2020-08-31 23:34:32 +02:00
parent 68474750db
commit e8259d1515
3 changed files with 48 additions and 10 deletions
+2 -1
View File
@@ -28,7 +28,7 @@ import { hot } from 'react-hot-loader/root';
import { providers } from './identityProviders';
import { CatalogRouter } from '@backstage/plugin-catalog';
// import { ExplorePlugin } from '@backstage/plugin-explore';
import { Route, Routes } from 'react-router';
import { Route, Routes, Navigate } from 'react-router';
import { EntityPage } from './components/catalog/EntityPage';
@@ -58,6 +58,7 @@ const AppRoutes = () => (
path="/catalog/*"
element={<CatalogRouter EntityPage={EntityPage} />}
/>
<Route path="/" element={<Navigate to="/catalog" />} />
{/* <Route path="/explore" element={<ExplorePlugin />} /> */}
</Routes>
);