import React from "react"; import { useTranslation } from "react-i18next"; import { Terminal } from "@/features/terminal/Terminal.tsx"; import { FullScreenAppWrapper } from "@/features/FullScreenAppWrapper.tsx"; interface TerminalAppProps { hostId?: string; } const TerminalApp: React.FC = ({ hostId }) => { const { t } = useTranslation(); return ( {(hostConfig, loading) => { if (loading) { return (

{t("hosts.loadingHost")}

); } if (!hostConfig) { return (

{t("hosts.hostNotFound")}

); } return ( {}} /> ); }}
); }; export default TerminalApp;