TForm update

This commit is contained in:
x032205
2025-06-12 15:39:52 -04:00
parent e798b4a7ba
commit 93570df318

View File

@@ -9,10 +9,6 @@ import { Button, FormControl, Input } from "@app/components/v2";
import { useRenewDynamicSecretLease } from "@app/hooks/api";
import { TDynamicSecret } from "@app/hooks/api/dynamicSecret/types";
type TForm = {
ttl: string;
};
type Props = {
onClose: () => void;
leaseId: string;
@@ -51,6 +47,8 @@ export const RenewDynamicSecretLease = ({
})
});
type TForm = z.infer<typeof formSchema>;
const {
control,
formState: { isSubmitting },