diff --git a/plugins/catalog/src/components/SystemDiagramCard/SystemDiagramCard.tsx b/plugins/catalog/src/components/SystemDiagramCard/SystemDiagramCard.tsx index 9ec0e47bee..df20e910aa 100644 --- a/plugins/catalog/src/components/SystemDiagramCard/SystemDiagramCard.tsx +++ b/plugins/catalog/src/components/SystemDiagramCard/SystemDiagramCard.tsx @@ -31,7 +31,7 @@ import { InfoCard, Progress, useApi, - WarningPanel, + ResponseErrorPanel, } from '@backstage/core'; import { Box, Typography } from '@material-ui/core'; import ZoomOutMap from '@material-ui/icons/ZoomOutMap'; @@ -138,11 +138,7 @@ export function SystemDiagramCard() { if (loading) { return ; } else if (error) { - return ( - - {error.message} - - ); + return ; } return (