From 93570df31800d903a8ca78d6ac681f36a661a876 Mon Sep 17 00:00:00 2001 From: x032205 Date: Thu, 12 Jun 2025 15:39:52 -0400 Subject: [PATCH] TForm update --- .../DynamicSecretListView/RenewDynamicSecretLease.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 53d580c4b..9cee0a671 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; + const { control, formState: { isSubmitting },