TForm update

This commit is contained in:
x032205
2025-06-12 15:39:52 -04:00
parent e798b4a7ba
commit 93570df318
@@ -9,10 +9,6 @@ import { Button, FormControl, Input } from "@app/components/v2";
import { useRenewDynamicSecretLease } from "@app/hooks/api"; import { useRenewDynamicSecretLease } from "@app/hooks/api";
import { TDynamicSecret } from "@app/hooks/api/dynamicSecret/types"; import { TDynamicSecret } from "@app/hooks/api/dynamicSecret/types";
type TForm = {
ttl: string;
};
type Props = { type Props = {
onClose: () => void; onClose: () => void;
leaseId: string; leaseId: string;
@@ -51,6 +47,8 @@ export const RenewDynamicSecretLease = ({
}) })
}); });
type TForm = z.infer<typeof formSchema>;
const { const {
control, control,
formState: { isSubmitting }, formState: { isSubmitting },