From 7276f699fc85c611f1c3f83a19a368da9841e3a4 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 31 Jul 2024 11:24:57 -0300 Subject: [PATCH] feat: remove unnecessary condition in App component (#3107) The unnecessary condition in the App component was causing the error modal to not appear when there was an error in the health data. This commit removes the unnecessary condition to ensure that the error modal is displayed correctly. --- src/frontend/src/App.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/frontend/src/App.tsx b/src/frontend/src/App.tsx index ca3447e97..6fc41300c 100644 --- a/src/frontend/src/App.tsx +++ b/src/frontend/src/App.tsx @@ -137,7 +137,6 @@ export default function App() { message={FETCH_ERROR_MESSAGE} openModal={ isErrorHealth || - !healthData || (healthData && Object.values(healthData).some((value) => value !== "ok")) }