Skip to content

Commit 53b5fb1

Browse files
committed
come oooooon
1 parent 6aa4ef0 commit 53b5fb1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

site/src/pages/HealthPage/HealthLayout.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,13 @@ export const HealthLayout: FC = () => {
102102
<div className="font-medium mt-4">
103103
{healthStatus.healthy ? "Healthy" : "Unhealthy"}
104104
</div>
105-
<div
106-
className="text-content-secondary line-height-[150%]"
107-
>
105+
<div className="text-content-secondary line-height-[150%]">
108106
{healthStatus.healthy
109107
? Object.keys(visibleSections).some((key) => {
110-
const section =
111-
healthStatus[key as keyof typeof visibleSections];
112-
return section.warnings && section.warnings.length > 0;
113-
})
108+
const section =
109+
healthStatus[key as keyof typeof visibleSections];
110+
return section.warnings && section.warnings.length > 0;
111+
})
114112
? "All systems operational, but performance might be degraded"
115113
: "All systems operational"
116114
: "Some issues have been detected"}

0 commit comments

Comments
 (0)