diff --git a/src/views/host/details/HostDetailsView.js b/src/views/host/details/HostDetailsView.js index e981d82681a73e277637d742f14d548e4bef5e07..964849590de1fedc8d5211945baaa518c6d4df96 100644 --- a/src/views/host/details/HostDetailsView.js +++ b/src/views/host/details/HostDetailsView.js @@ -57,7 +57,7 @@ export function HostDetailsView({ hostId, host, alert }) { <ArrowBackIcon /> </IconButton> </Box> - {host ? ( + {host && ( <> <AlertBannerList alerts={alert.alerts ?? []} /> <Stack @@ -181,7 +181,7 @@ export function HostDetailsView({ hostId, host, alert }) { variant="overline" /> </> - ) : null} + )} </Stack> ); }