add required headingLevel prop for IntegrationBoard
@@ -20,7 +20,8 @@ export interface IIntegrationBoardProps {
i18nTitle: string;
}
-export const IntegrationBoard: React.FunctionComponent<IIntegrationBoardProps> = ({
+export const IntegrationBoard: React.FunctionComponent<IIntegrationBoardProps> =
+ ({
pendingIntegrations,
runningIntegrations,
stoppedIntegrations,
@@ -55,14 +56,16 @@ export const IntegrationBoard: React.FunctionComponent<IIntegrationBoardProps> =
name: `${i18nIntegrationStatePending}: ${pendingIntegrations}`,
},
];
- const total = `${runningIntegrations +
- stoppedIntegrations +
- pendingIntegrations}`;
+ const total = `${
+ runningIntegrations + stoppedIntegrations + pendingIntegrations
+ }`;
return (
<Card data-testid={'dashboard-integration-board'}>
<CardHeader>
- <Title size={'md'}>{i18nTitle}</Title>
+ <Title size={'md'} headingLevel={'h3'}>
+ {i18nTitle}
+ </Title>
</CardHeader>
<CardBody>
<Grid>
