From 6b3161dde50f63f26f651d3a4a7b45a5b0695207 Mon Sep 17 00:00:00 2001 From: hamster1963 Date: Fri, 13 Dec 2024 10:07:25 +0000 Subject: [PATCH] chore: auto-fix linting and formatting issues --- src/components/ServerDetailOverview.tsx | 43 +++++++++++++------------ 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/src/components/ServerDetailOverview.tsx b/src/components/ServerDetailOverview.tsx index 93b83e8..d2cbd17 100644 --- a/src/components/ServerDetailOverview.tsx +++ b/src/components/ServerDetailOverview.tsx @@ -231,28 +231,29 @@ export default function ServerDetailOverview({ server_id }: { server_id: string ) : null}
- {server?.state.temperatures && server?.state.temperatures.length > 0 && ( -
- - - - {t("serverDetail.temperature")} - - -
- {server?.state.temperatures.map((item, index) => ( -
-

{item.Name}

: {item.Temperature.toFixed(2)} °C -
- ))} -
-
-
-
-
- )} + {server?.state.temperatures && server?.state.temperatures.length > 0 && ( +
+ + + + {t("serverDetail.temperature")} + + +
+ {server?.state.temperatures.map((item, index) => ( +
+

{item.Name}

: {item.Temperature.toFixed(2)}{" "} + °C +
+ ))} +
+
+
+
+
+ )}
- +