diff --git a/src/widgets/healthchecks/component.jsx b/src/widgets/healthchecks/component.jsx
index bcb8d740..21fb7cb6 100644
--- a/src/widgets/healthchecks/component.jsx
+++ b/src/widgets/healthchecks/component.jsx
@@ -63,26 +63,22 @@ export default function Component({ service }) {
);
}
- const hasUuid = widget?.uuid;
+ const hasUuid = !!widget?.uuid;
const { upCount, downCount } = countStatus(data);
- return (
+ return hasUuid ? (
- {hasUuid ? (
- <>
-
-
- >
- ) : (
- <>
-
-
- >
- )}
+
+
+
+ ) : (
+
+
+
);
}