fix: AboutCard

This commit is contained in:
Ivan Shmidt
2020-09-01 11:41:33 +02:00
parent 2a39b60ef7
commit 7b098885c5
3 changed files with 5 additions and 5 deletions
@@ -18,12 +18,12 @@ import React from 'react';
import {
EntityPageLayout,
useEntity,
EntityMetadataCard,
AboutCard,
} from '@backstage/plugin-catalog';
import { Entity } from '@backstage/catalog-model';
const OverviewPage = ({ entity }: { entity: Entity }) => (
<EntityMetadataCard entity={entity} />
<AboutCard entity={entity} />
);
const ServiceEntityPage = ({ entity }: { entity: Entity }) => (
@@ -18,12 +18,12 @@ import React from 'react';
import {
EntityPageLayout,
useEntity,
EntityMetadataCard,
AboutCard,
} from '@backstage/plugin-catalog';
import { Entity } from '@backstage/catalog-model';
const OverviewPage = ({ entity }: { entity: Entity }) => (
<EntityMetadataCard entity={entity} />
<AboutCard entity={entity} />
);
const ServiceEntityPage = ({ entity }: { entity: Entity }) => (
+1 -1
View File
@@ -21,5 +21,5 @@ export * from './routes';
export { useEntityCompoundName } from './components/useEntityCompoundName';
export * from './Router';
export { useEntity } from './hooks/useEntity';
export { EntityMetadataCard } from './components/EntityMetadataCard/EntityMetadataCard';
export { AboutCard } from './components/AboutCard';
export { EntityPageLayout } from './components/EntityPageLayout';