diff --git a/plugins/pagerduty/src/components/PagerDutyCard/index.tsx b/plugins/pagerduty/src/components/PagerDutyCard/index.tsx
index 0938f7288b..e5c7eab071 100644
--- a/plugins/pagerduty/src/components/PagerDutyCard/index.tsx
+++ b/plugins/pagerduty/src/components/PagerDutyCard/index.tsx
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import React, { useState, useCallback } from 'react';
+import React, { ReactNode, useState, useCallback } from 'react';
import { Entity } from '@backstage/catalog-model';
import { Card, CardHeader, Divider, CardContent } from '@material-ui/core';
import { Incidents } from '../Incident';
@@ -37,8 +37,13 @@ import {
IconLinkVerticalProps,
TabbedCard,
CardTab,
+ InfoCard,
} from '@backstage/core-components';
+const BasicCard = ({ children }: { children: ReactNode }) => (
+ {children}
+);
+
export const isPluginApplicableToEntity = (entity: Entity) =>
Boolean(
entity.metadata.annotations?.[PAGERDUTY_INTEGRATION_KEY] ||
@@ -96,7 +101,11 @@ export const PagerDutyCard = () => {
}
if (loading) {
- return ;
+ return (
+
+
+
+ );
}
const serviceLink: IconLinkVerticalProps = {