Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

TForm update

x03220593570df31800
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/RenewDynamicSecretLease.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/RenewDynamicSecretLease.tsx
index 53d580c4b2..9cee0a671c 100644
--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/RenewDynamicSecretLease.tsx
+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/RenewDynamicSecretLease.tsx
@@ -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 },