diff --git a/dashboard/src/features/nodes/log/container.tsx b/dashboard/src/features/nodes/log/container.tsx index 34194c2..e88c3f0 100644 --- a/dashboard/src/features/nodes/log/container.tsx +++ b/dashboard/src/features/nodes/log/container.tsx @@ -1,10 +1,10 @@ import { - Badge, - Card, - CardContent, - CardHeader, - ScrollArea, - Separator, + Badge, + Card, + CardContent, + CardHeader, + ScrollArea, + Separator, } from "@marzneshin/components"; import type { NodeType } from ".."; import { useNodesLog } from ".."; @@ -12,45 +12,45 @@ import type { FC } from "react"; import { useTranslation } from "react-i18next"; interface LogContainerProps { - node: NodeType; + node: NodeType; } export const LogContainer: FC = ({ node }) => { - const { logs, status, logsDiv } = useNodesLog(node); - const { t } = useTranslation(); + const { logs, status, logsDiv } = useNodesLog(node); + const { t } = useTranslation(); - return ( - - - -

- {t("page.nodes.settings.log-container.title")} -

-
- - {status} - -
-
- - {logs.map((log: string, index: number) => ( -
-

- {log} -

- {index !== logs.length - 1 && ( - - )} -
- ))} -
-
-
- ); + return ( + + + +

+ {t("page.nodes.settings.log-container.title")} +

+
+ + {status} + +
+
+ + {logs.map((log: string, index: number) => ( +
+

+ {log} +

+ {index !== logs.length - 1 && ( + + )} +
+ ))} +
+
+
+ ); };