mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 19:28:16 +00:00
Fix lint issue
This commit is contained in:
+6
-4
@@ -1,11 +1,13 @@
|
|||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import {
|
|
||||||
Checkbox
|
|
||||||
} from "@app/components/v2";
|
|
||||||
import {
|
import {
|
||||||
decryptAssymmetric,
|
decryptAssymmetric,
|
||||||
encryptAssymmetric
|
encryptAssymmetric
|
||||||
} from "@app/components/utilities/cryptography/crypto";
|
} from "@app/components/utilities/cryptography/crypto";
|
||||||
|
import {
|
||||||
|
Checkbox
|
||||||
|
} from "@app/components/v2";
|
||||||
|
|
||||||
import getBot from '../../../../../pages/api/bot/getBot';
|
import getBot from '../../../../../pages/api/bot/getBot';
|
||||||
import setBotActiveStatus from '../../../../../pages/api/bot/setBotActiveStatus';
|
import setBotActiveStatus from '../../../../../pages/api/bot/setBotActiveStatus';
|
||||||
import getLatestFileKey from '../../../../../pages/api/workspace/getLatestFileKey';
|
import getLatestFileKey from '../../../../../pages/api/workspace/getLatestFileKey';
|
||||||
@@ -101,7 +103,7 @@ export const E2EESection = ({
|
|||||||
className="data-[state=checked]:bg-primary"
|
className="data-[state=checked]:bg-primary"
|
||||||
id="autoCapitalization"
|
id="autoCapitalization"
|
||||||
isChecked={!bot.isActive}
|
isChecked={!bot.isActive}
|
||||||
onCheckedChange={async (state) => {
|
onCheckedChange={async () => {
|
||||||
await toggleBotActivate();
|
await toggleBotActivate();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user