From 6d728613e81c4b3d6f85644fd56f0651108046c7 Mon Sep 17 00:00:00 2001 From: Nicholas Orlowsky Date: Sun, 4 Dec 2022 18:10:43 -0600 Subject: [PATCH] Update StatusPage.tsx --- src/components/StatusPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.