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.
This commit is contained in:
anovazzi1 2024-07-31 11:24:57 -03:00 committed by GitHub
commit 7276f699fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,7 +137,6 @@ export default function App() {
message={FETCH_ERROR_MESSAGE}
openModal={
isErrorHealth ||
!healthData ||
(healthData &&
Object.values(healthData).some((value) => value !== "ok"))
}