mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 22:28:25 +00:00
TForm update
This commit is contained in:
+2
-4
@@ -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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user