import React from "react"; import { useTranslation } from "react-i18next"; import { DockerManager } from "./DockerManager.tsx"; import { FullScreenAppWrapper } from "@/features/FullScreenAppWrapper.tsx"; import { ConnectionScreen } from "@/components/connection/ConnectionScreen.tsx"; interface DockerAppProps { hostId?: string; } const DockerApp: React.FC = ({ hostId }) => { const { t } = useTranslation(); return ( {(hostConfig, phase) => { if (phase === "loading") { return (
); } if (!hostConfig) { return (
); } return ( {}} /> ); }}
); }; export default DockerApp;