Update StatusPage.tsx
This commit is contained in:
parent
10f347ea0c
commit
6d728613e8
|
@ -77,12 +77,12 @@ export default function StatusPage() {
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h3>Service Alerts</h3>
|
<h3>Service Alerts</h3>
|
||||||
{incidents.map((e) => {
|
{incidents !== null && incidents.map((e) => {
|
||||||
return (
|
return (
|
||||||
<IncidentCard incident={e}/>
|
<IncidentCard incident={e}/>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
{incidents.length == 0 &&
|
{(incidents !== null || incidents.length == 0) &&
|
||||||
<div className={`row text-center`} style={{width: '75vw'}}>
|
<div className={`row text-center`} style={{width: '75vw'}}>
|
||||||
<h5 className={"col-12"}>No service alerts.</h5>
|
<h5 className={"col-12"}>No service alerts.</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue