Skip to content

Commit

Permalink
fix: render ConfigAuditReport with null checks (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurrriq authored Feb 24, 2022
1 parent f183ac3 commit 585c8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configauditreports/checks-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class ChecksList extends React.Component<Props> {

render() {
const {checks, title} = this.props
if (!checks.length) {
if (!checks || !checks.length) {
return null;
}

Expand Down

0 comments on commit 585c8ba

Please sign in to comment.