Skip to content

Commit

Permalink
fix(article-md): fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
WaDadidou committed Dec 23, 2024
1 parent d85401b commit e19e7a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { useIsMobile } from "@/hooks/useIsMobile";
import { useMaxResolution } from "@/hooks/useMaxResolution";
import { useNSUserInfo } from "@/hooks/useNSUserInfo";
import { parseUserId } from "@/networks";
import { markdownTagStyles, articleMd as md } from "@/utils/feed/markdown";
import { renderHtmlTagStyles, articleMd as md } from "@/utils/feed/markdown";
import { zodTryParseJSON } from "@/utils/sanitize";
import {
ARTICLE_MAX_WIDTH,
Expand Down Expand Up @@ -249,7 +249,7 @@ export const FeedPostArticleMarkdownView: FC<{
>
<RenderHtml
source={{ html }}
tagsStyles={markdownTagStyles}
tagsStyles={renderHtmlTagStyles}
contentWidth={renderHtmlWidth}
/>
</ScrollView>
Expand Down

0 comments on commit e19e7a8

Please sign in to comment.