From c5bb56372aa1ffd95d5a237ba71bbd1ac339b622 Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Wed, 18 Jun 2025 16:52:29 +0800 Subject: [PATCH] chore: fix import in web app html-render --- apps/mobile/web-app/html-renderer/src/parser.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/mobile/web-app/html-renderer/src/parser.tsx b/apps/mobile/web-app/html-renderer/src/parser.tsx index 247f0d88a..85f555b5c 100644 --- a/apps/mobile/web-app/html-renderer/src/parser.tsx +++ b/apps/mobile/web-app/html-renderer/src/parser.tsx @@ -1,6 +1,6 @@ import { MemoedDangerousHTMLStyle } from "@follow/components/common/MemoedDangerousHTMLStyle.jsx" import { Checkbox } from "@follow/components/ui/checkbox/index.jsx" -import { parseHtml as parseHtmlGeneral } from "@follow/components/ui/markdown/parse-html.js" +import { parseHtml as parseHtmlGeneral } from "@follow/utils/html" import type { Components } from "hast-util-to-jsx-runtime" import { createElement } from "react" import { renderToString } from "react-dom/server" @@ -65,7 +65,6 @@ export const parseHtml = ( return createElement(MarkdownP, props, props.children) }, - // @ts-expect-error math: Math, hr: ({ node, ...props }) => createElement("hr", {