fix: update component name
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user