mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 13:28:27 +00:00
misc: readded file
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
|||||||
|
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 <SecretSyncLabel label="Project ID">{projectId}</SecretSyncLabel>;
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user