import React from "react"; import { useTranslation } from "@termix/plugin-sdk/frontend"; import { ProxmoxStatsTab } from "./ProxmoxStatsTab"; import { FullScreenAppWrapper } from "@/features/FullScreenAppWrapper.tsx"; import { ConnectionScreen } from "@/components/connection/ConnectionScreen.tsx"; interface ProxmoxStatsAppProps { hostId?: string; } const ProxmoxStatsApp: React.FC = ({ hostId }) => { const { t } = useTranslation(); return ( {(hostConfig, phase) => { if (phase === "loading") { return (
); } if (!hostConfig) { return (
); } return ( ); }}
); }; export default ProxmoxStatsApp;