Skip to content

Commit acf33a1

Browse files
committed
format
1 parent f923995 commit acf33a1

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

site/src/pages/HealthPage/HealthLayout.tsx

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,11 @@ export const HealthLayout: FC = () => {
7373
</Helmet>
7474

7575
<DashboardFullPage>
76-
<div
77-
className="flex basis-0 flex-1 overflow-hidden"
78-
>
79-
<div
80-
className="w-64 shrink-0 text-sm border-0 border-solid border-r border-r-border"
81-
>
82-
<div
83-
className="flex flex-col gap-4 p-6"
84-
>
76+
<div className="flex basis-0 flex-1 overflow-hidden">
77+
<div className="w-64 shrink-0 text-sm border-0 border-solid border-r border-r-border">
78+
<div className="flex flex-col gap-4 p-6">
8579
<div>
86-
<div
87-
className="flex items-center justify-between"
88-
>
80+
<div className="flex items-center justify-between">
8981
<HealthIcon size={32} severity={healthStatus.severity} />
9082

9183
<Tooltip title="Refresh health checks">
@@ -116,10 +108,10 @@ export const HealthLayout: FC = () => {
116108
>
117109
{healthStatus.healthy
118110
? Object.keys(visibleSections).some((key) => {
119-
const section =
120-
healthStatus[key as keyof typeof visibleSections];
121-
return section.warnings && section.warnings.length > 0;
122-
})
111+
const section =
112+
healthStatus[key as keyof typeof visibleSections];
113+
return section.warnings && section.warnings.length > 0;
114+
})
123115
? "All systems operational, but performance might be degraded"
124116
: "All systems operational"
125117
: "Some issues have been detected"}

0 commit comments

Comments
 (0)