revert root and app

Signed-off-by: Ryan Brink <5607577+unredundant@users.noreply.github.com>
This commit is contained in:
Ryan Brink
2022-07-17 09:28:03 -06:00
parent d2ef6ebe23
commit 184b867f43
2 changed files with 1 additions and 17 deletions
-12
View File
@@ -98,7 +98,6 @@ import { techDocsPage } from './components/techdocs/TechDocsPage';
import { ApacheAirflowPage } from '@backstage/plugin-apache-airflow';
import { PermissionedRoute } from '@backstage/plugin-permission-react';
import { catalogEntityCreatePermission } from '@backstage/plugin-catalog-common';
import { ApolloExplorerPage } from '@backstage/plugin-apollo-explorer';
const app = createApp({
apis,
@@ -240,17 +239,6 @@ const routes = (
</Route>
<Route path="/azure-pull-requests" element={<AzurePullRequestsPage />} />
<Route path="/apache-airflow" element={<ApacheAirflowPage />} />
<Route
path="/apollo-explorer"
element={
<ApolloExplorerPage
endpoints={[
{ title: 'Github', graphRef: 'Github-API-ikji88@current' },
{ title: 'Linear', graphRef: 'Linear-API-jho99t@current' },
]}
/>
}
/>
</FlatRoutes>
);
+1 -5
View File
@@ -117,11 +117,7 @@ export const Root = ({ children }: PropsWithChildren<{}>) => (
to="cost-insights"
text="Cost Insights"
/>
<SidebarItem
icon={GraphiQLIcon}
to="apollo-explorer"
text="Apollo Explorer"
/>
<SidebarItem icon={GraphiQLIcon} to="graphiql" text="GraphiQL" />
</SidebarScrollWrapper>
<SidebarDivider />
<Shortcuts />