fix: alert component styles

This commit is contained in:
nafees nazik
2023-09-22 23:20:45 +05:30
parent a024eecf2c
commit 2eff06cf06
5 changed files with 82 additions and 46 deletions
@@ -1,12 +1,9 @@
import { faExclamationTriangle } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { ProjectPermissionCan } from "@app/components/permissions";
import {
decryptAssymmetric,
encryptAssymmetric
} from "@app/components/utilities/cryptography/crypto";
import { Alert, AlertDescription, AlertTitle, Checkbox } from "@app/components/v2";
import { Alert, AlertDescription, Checkbox } from "@app/components/v2";
import { ProjectPermissionActions, ProjectPermissionSub, useWorkspace } from "@app/context";
import { useGetUserWsKey, useGetWorkspaceBot, useUpdateBotActiveStatus } from "@app/hooks/api";
@@ -107,8 +104,6 @@ export const E2EESection = () => {
</div>
<div>
<Alert variant="warning">
<FontAwesomeIcon icon={faExclamationTriangle} />
<AlertTitle>Warning !</AlertTitle>
<AlertDescription>
Enabling End-to-end encryption disables all the integrations
</AlertDescription>