import { Badge, Card, CardContent, CardHeader, ScrollArea } from "@marzneshin/components" import { NodeType, useNodesLog } from ".." import { FC } from "react" import { useTranslation } from "react-i18next" interface LogContainerProps { node: NodeType } export const LogContainer: FC = ({ node }) => { const { logs, status, logsDiv } = useNodesLog(node) const { t } = useTranslation() return (

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

{status}
{logs.map((log: string, i) => { return

{log}

})}
) }