mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-26 05:21:29 +08:00
✨ 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:
@ -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";
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -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";
|
||||
|
||||
Reference in New Issue
Block a user