import { useTranslation } from "react-i18next"; import { cn } from "@/lib/utils" import { Separator } from "../ui/separator"; type DeployProgressProps = { phase?: "check" | "apply" | "deploy"; phaseSuccess?: boolean; }; const DeployProgress = ({ phase, phaseSuccess }: DeployProgressProps) => { const { t } = useTranslation(); let step = 0; if (phase === "check") { step = 1 } else if (phase === "apply") { step = 2 } else if (phase === "deploy") { step = 3 } return (