create-app: removed the CircleCI sidebar item, since the target page doesn't exist

This commit is contained in:
Patrik Oldsberg
2020-12-30 17:06:15 +01:00
parent 1773a5182b
commit 8d68e4cdc7
2 changed files with 7 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/create-app': patch
---
Removed the Circle CI sidebar item, since the target page does not exist.
To apply this change to an existing app, remove `"CircleCI"` sidebar item from `packages/app/src/sidebar.tsx`, and the `BuildIcon` import if it is unused.
@@ -3,7 +3,6 @@ import HomeIcon from '@material-ui/icons/Home';
import LibraryBooks from '@material-ui/icons/LibraryBooks';
import ExtensionIcon from '@material-ui/icons/Extension';
import CreateComponentIcon from '@material-ui/icons/AddCircleOutline';
import BuildIcon from '@material-ui/icons/BuildRounded';
import MapIcon from '@material-ui/icons/MyLocation';
import { Link, makeStyles } from '@material-ui/core';
import { NavLink } from 'react-router-dom';
@@ -33,7 +32,6 @@ export const AppSidebar = () => (
<SidebarItem icon={CreateComponentIcon} to="create" text="Create..." />
<SidebarDivider />
<SidebarItem icon={MapIcon} to="tech-radar" text="Tech Radar" />
<SidebarItem icon={BuildIcon} to="circleci" text="CircleCI" />
{/* End global nav */}
<SidebarDivider />
<SidebarSpace />