Skip to content

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

chore: lint fixes

bernie-g2597b9e7559e
diff --git a/backend/src/ee/services/gateway-v2/gateway-v2-service.ts b/backend/src/ee/services/gateway-v2/gateway-v2-service.ts
index 48f678d2e5..aa49d5cd49 100644
--- a/backend/src/ee/services/gateway-v2/gateway-v2-service.ts
+++ b/backend/src/ee/services/gateway-v2/gateway-v2-service.ts
@@ -1401,7 +1401,6 @@ export const gatewayV2ServiceFactory = ({
});
try {
-
const certs = await $issueGatewayCerts({ orgId, orgCAs, relayName: relay.name, gateway });
const appCfg = getConfig();
diff --git a/frontend/src/layouts/OrganizationLayout/components/NetworkHealthBanner/NetworkHealthBanner.tsx b/frontend/src/layouts/OrganizationLayout/components/NetworkHealthBanner/NetworkHealthBanner.tsx
index 75a0e52e7a..4c690955f0 100644
--- a/frontend/src/layouts/OrganizationLayout/components/NetworkHealthBanner/NetworkHealthBanner.tsx
+++ b/frontend/src/layouts/OrganizationLayout/components/NetworkHealthBanner/NetworkHealthBanner.tsx
@@ -72,7 +72,10 @@ export const NetworkHealthBanner = () => {
}
if (!("heartbeat" in g)) return false;
// Skip gateways that have never connected (both fields null)
- if (g.heartbeat === null && ("lastHealthCheckStatus" in g ? g.lastHealthCheckStatus : null) === null)
+ if (
+ g.heartbeat === null &&
+ ("lastHealthCheckStatus" in g ? g.lastHealthCheckStatus : null) === null
+ )
return false;
return isHeartbeatStale(g.heartbeat);
}).length ?? 0,
diff --git a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayDeployModal.tsx b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayDeployModal.tsx
index 9319bae30a..c037b6144e 100644
--- a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayDeployModal.tsx
+++ b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayDeployModal.tsx
@@ -2,8 +2,8 @@ import { useMemo, useState } from "react";
import { SingleValue } from "react-select";
import { faCopy, faUpRightFromSquare } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { useNavigate } from "@tanstack/react-router";
import { useQuery } from "@tanstack/react-query";
+import { useNavigate } from "@tanstack/react-router";
import { z } from "zod";
import { createNotification } from "@app/components/notifications";
@@ -254,11 +254,7 @@ const Content = () => {
export const GatewayDeployModal = ({ isOpen, onOpenChange }: Props) => {
return (
<Modal isOpen={isOpen} onOpenChange={onOpenChange}>
- <ModalContent
- className="max-w-2xl"
- title="Create Gateway"
- bodyClassName="overflow-visible"
- >
+ <ModalContent className="max-w-2xl" title="Create Gateway" bodyClassName="overflow-visible">
<Content />
</ModalContent>
</Modal>