Skip to content

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

style(gateway-deploy): drop void operator

bernie-g41ac04a3335d
diff --git a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx
index 3ceadb2460..0458f965de 100644
--- a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx
+++ b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx
@@ -133,7 +133,7 @@ export const GatewayDeploySection = ({
if (nextMode === connectionMode) return;
setConnectionMode(nextMode);
// The command rewrites its flags on mode change, and enrollment tokens are single use.
- if (enrollment) void handleGenerate();
+ if (enrollment) handleGenerate();
};
return (