diff --git a/src/components/StatusPage.tsx b/src/components/StatusPage.tsx index 2b0949b..f31c078 100644 --- a/src/components/StatusPage.tsx +++ b/src/components/StatusPage.tsx @@ -77,12 +77,12 @@ export default function StatusPage() {

Service Alerts

- {incidents.map((e) => { + {incidents !== null && incidents.map((e) => { return ( ); })} - {incidents.length == 0 && + {(incidents !== null || incidents.length == 0) &&
No service alerts.