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,5 +1,5 @@
import Link from "next/link";
import { faArrowRight, faExclamationTriangle, faXmark } from "@fortawesome/free-solid-svg-icons";
import { faArrowRight, faXmark } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { integrationSlugNameMapping } from "public/data/frequentConstants";
@@ -55,8 +55,7 @@ export const IntegrationsSection = ({
{!bot?.isActive && (
<div className="px-6 py-4">
<Alert variant="warning">
<FontAwesomeIcon icon={faExclamationTriangle} />
<Alert hideTitle variant="warning">
<AlertDescription>
All the active integrations will be disabled. Disable End-to-End Encryption in{" "}
<Link href={`/project/${currentWorkspace?._id}/settings`} passHref>