From ad4620387d616ef28c5fcd0f2cf357e299789079 Mon Sep 17 00:00:00 2001
From: Johanna Szepanski <johanna.szepanski@softhouse.se>
Date: Mon, 19 Aug 2024 22:32:35 +0200
Subject: [PATCH] updated after MR comments

---
 src/views/host/details/HostDetailsView.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/host/details/HostDetailsView.js b/src/views/host/details/HostDetailsView.js
index e981d826..96484959 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>
   );
 }
-- 
GitLab