Update plugins/github-pull-requests-board/src/components/Card/CardHeader.tsx

Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Signed-off-by: Thorsten Gilfert <67371810+gilfthde@users.noreply.github.com>
This commit is contained in:
Thorsten Gilfert
2024-04-08 20:58:35 +02:00
committed by GitHub
parent ecc412399c
commit ddf4f8d347
@@ -93,7 +93,7 @@ const CardHeader: FunctionComponent<Props> = (props: Props) => {
<Typography variant="body2" component="p">
Commit Status:{' '}
<strong>
{status[0].commit.statusCheckRollup?.state || 'N/A'}
{status[0]?.commit.statusCheckRollup?.state || 'N/A'}
</strong>
</Typography>
</Box>