Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fix lint issue
Tuan Dang553cf11ad25b
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/E2EESection/E2EESection.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/E2EESection/E2EESection.tsxindex 66037afe53..4faf3e7637 100644--- a/frontend/src/views/Settings/ProjectSettingsPage/components/E2EESection/E2EESection.tsx+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/E2EESection/E2EESection.tsx@@ -1,11 +1,13 @@import { useEffect, useState } from "react";-import {- Checkbox-} from "@app/components/v2";+import {decryptAssymmetric,encryptAssymmetric} from "@app/components/utilities/cryptography/crypto";+import {+ Checkbox+} from "@app/components/v2";+import getBot from '../../../../../pages/api/bot/getBot';import setBotActiveStatus from '../../../../../pages/api/bot/setBotActiveStatus';import getLatestFileKey from '../../../../../pages/api/workspace/getLatestFileKey';@@ -101,7 +103,7 @@ export const E2EESection = ({className="data-[state=checked]:bg-primary"id="autoCapitalization"isChecked={!bot.isActive}- onCheckedChange={async (state) => {+ onCheckedChange={async () => {await toggleBotActivate();}}>