chore: fix import in web app html-render
This commit is contained in:
parent
8f66d91ce1
commit
c5bb56372a
|
|
@ -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", {
|
||||
|
|
|
|||
Loading…
Reference in New Issue