Skip to content

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

fix(pki-discovery): import the moved connection creation hook

bernie-g995c099f8eb4
diff --git a/frontend/src/pages/cert-manager/DiscoveryPage/components/DiscoveryJobSheet/HostConnectionsFields.tsx b/frontend/src/pages/cert-manager/DiscoveryPage/components/DiscoveryJobSheet/HostConnectionsFields.tsx
index 0d87e4a464..3de5b1ccd4 100644
--- a/frontend/src/pages/cert-manager/DiscoveryPage/components/DiscoveryJobSheet/HostConnectionsFields.tsx
+++ b/frontend/src/pages/cert-manager/DiscoveryPage/components/DiscoveryJobSheet/HostConnectionsFields.tsx
@@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/react-query";
import { Info } from "lucide-react";
import { AppConnectionOptionContent } from "@app/components/app-connections";
+import { useConnectionCreation } from "@app/components/app-connections/useConnectionCreation";
import {
Combobox,
Field,
@@ -22,7 +23,6 @@ import {
import { AppConnection } from "@app/hooks/api/appConnections/enums";
import { gatewaysQueryKeys } from "@app/hooks/api/gateways/queries";
import { GatewayCapability } from "@app/hooks/api/gateways-v2/types";
-import { useConnectionCreation } from "@app/pages/cert-manager/CertificateAuthoritiesPage/components/CaInstallCertModal/useConnectionCreation";
import { THostDiscoveryJobForm } from "./discovery-job-form-schema";