From 2049e5668f25be9feedd6b889febe0e9394fd29a Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Tue, 28 Jan 2025 16:39:05 +0800 Subject: [PATCH] misc: deleted file --- .../SecretSyncReviewFields/GcpSyncReviewFIelds.tsx | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 frontend/src/components/secret-syncs/forms/SecretSyncReviewFields/GcpSyncReviewFIelds.tsx diff --git a/frontend/src/components/secret-syncs/forms/SecretSyncReviewFields/GcpSyncReviewFIelds.tsx b/frontend/src/components/secret-syncs/forms/SecretSyncReviewFields/GcpSyncReviewFIelds.tsx deleted file mode 100644 index 52776c0e9..000000000 --- a/frontend/src/components/secret-syncs/forms/SecretSyncReviewFields/GcpSyncReviewFIelds.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { useFormContext } from "react-hook-form"; - -import { SecretSyncLabel } from "@app/components/secret-syncs"; -import { TSecretSyncForm } from "@app/components/secret-syncs/forms/schemas"; -import { SecretSync } from "@app/hooks/api/secretSyncs"; - -export const GcpSyncReviewFields = () => { - const { watch } = useFormContext< - TSecretSyncForm & { destination: SecretSync.GCPSecretManager } - >(); - const projectId = watch("destinationConfig.projectId"); - - return {projectId}; -};