Skip to content

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

Lint fix

Carlos Monastyrskia5e91e9fc5ae
diff --git a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/CreateCaWizard/KeyValidityStep.tsx b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/CreateCaWizard/KeyValidityStep.tsx
index 81d3c36cd5..8154f2c509 100644
--- a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/CreateCaWizard/KeyValidityStep.tsx
+++ b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/CreateCaWizard/KeyValidityStep.tsx
@@ -23,7 +23,7 @@ import {
SelectTrigger,
SelectValue
} from "@app/components/v3";
-import { useOrganization, useProject, useProjectPermission, useSubscription } from "@app/context";
+import { useOrganization, useProjectPermission, useSubscription } from "@app/context";
import {
ProjectPermissionHsmConnectorActions,
ProjectPermissionSub
@@ -65,7 +65,6 @@ export const KeyValidityStep = ({
}: Props) => {
const { subscription } = useSubscription();
const { currentOrg } = useOrganization();
- const { currentProject } = useProject();
const { openUpgradeGate, upgradeGate } = useUpgradeGate();
const isHsmLicensed = Boolean(subscription?.hsm);
const isAwsKmsLicensed = Boolean(subscription?.pkiAwsKmsSigning);
@@ -209,8 +208,8 @@ export const KeyValidityStep = ({
<>
No AWS connections yet.{" "}
<Link
- to="/organizations/$orgId/projects/cert-manager/$projectId/app-connections"
- params={{ orgId: currentOrg.id, projectId: currentProject.id }}
+ to="/organizations/$orgId/app-connections"
+ params={{ orgId: currentOrg.id }}
className="underline"
>
Add an AWS connection