feat(SanitizedHTMLWrapper): add new component to safely render sanitized HTML content

🐛 fix(chatMessage): fix import path for SanitizedHTMLWrapper component
🐛 fix(formModal): fix import path for SanitizedHTMLWrapper component
🐛 fix(genericModal): fix import path for SanitizedHTMLWrapper component
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-08 15:13:45 -03:00
commit 79261bf620
4 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ import remarkGfm from "remark-gfm";
import remarkMath from "remark-math";
import AiIcon from "../../../assets/Gooey Ring-5s-271px.svg";
import AiIconStill from "../../../assets/froze-flow.png";
import SanitizedHTMLWrapper from "../../../components/SanitizedDiv";
import SanitizedHTMLWrapper from "../../../components/SanitizedHTMLWrapper";
import { ChatMessageType } from "../../../types/chat";
import { classNames } from "../../../utils";
import { CodeBlock } from "../../formModal/chatMessage/codeBlock";

View file

@ -7,7 +7,7 @@ import remarkGfm from "remark-gfm";
import remarkMath from "remark-math";
import MaleTechnology from "../../../assets/male-technologist.png";
import Robot from "../../../assets/robot.png";
import SanitizedHTMLWrapper from "../../../components/SanitizedDiv";
import SanitizedHTMLWrapper from "../../../components/SanitizedHTMLWrapper";
import { THOUGHTS_ICON } from "../../../constants";
import { ChatMessageType } from "../../../types/chat";
import { classNames } from "../../../utils";

View file

@ -1,6 +1,6 @@
import { FileText, Variable } from "lucide-react";
import { useContext, useEffect, useRef, useState } from "react";
import SanitizedHTMLWrapper from "../../components/SanitizedDiv";
import SanitizedHTMLWrapper from "../../components/SanitizedHTMLWrapper";
import ShadTooltip from "../../components/ShadTooltipComponent";
import { Badge } from "../../components/ui/badge";
import { Button } from "../../components/ui/button";