fix: update component name

This commit is contained in:
lewtakm
2020-10-12 13:07:48 +02:00
parent 65d7224554
commit d9bfacffad
@@ -54,7 +54,7 @@ import {
LastLighthouseAuditCard,
isPluginApplicableToEntity as isLighthouseAvailable,
} from '@backstage/plugin-lighthouse/';
import { Router as GithubPullRequestsRouter } from '@roadiehq/backstage-plugin-github-pull-requests';
import { Router as PullRequestsRouter } from '@roadiehq/backstage-plugin-github-pull-requests';
const CICDSwitcher = ({ entity }: { entity: Entity }) => {
// This component is just an example of how you can implement your company's logic in entity page.
@@ -164,7 +164,7 @@ const ServiceEntityPage = ({ entity }: { entity: Entity }) => (
<EntityPageLayout.Content
path="/pull-requests"
title="Pull Requests"
element={<GithubPullRequestsRouter entity={entity} />}
element={<PullRequestsRouter entity={entity} />}
/>
</EntityPageLayout>
);
@@ -204,7 +204,7 @@ const WebsiteEntityPage = ({ entity }: { entity: Entity }) => (
<EntityPageLayout.Content
path="/pull-requests"
title="Pull Requests"
element={<GithubPullRequestsRouter entity={entity} />}
element={<PullRequestsRouter entity={entity} />}
/>
</EntityPageLayout>
);