import { useTranslation } from "react-i18next"; import type { SshTerminalConfig, WidgetEditFormProps, } from "@/types/homepage-types"; import { SingleHostEditForm } from "./SingleHostEditForm"; export function SshTerminalEditForm({ config, onChange, }: WidgetEditFormProps) { const { t } = useTranslation(); return (
onChange({ ...config, hostId })} filter={(h) => !!(h.enableSsh && h.enableTerminal)} />
); }