diff options
author | crupest <crupest@outlook.com> | 2023-09-20 20:16:30 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-09-20 20:16:30 +0800 |
commit | 901fe3d7c032d284da5c9bce24c4aaee9054c7ac (patch) | |
tree | 573cfafd972106d69bef0d41ff5f270ec3c43ec2 /FrontEnd/src/pages/timeline/view | |
parent | 4165ca210d9660a67b16089c31b7f65b8b09e019 (diff) | |
download | timeline-901fe3d7c032d284da5c9bce24c4aaee9054c7ac.tar.gz timeline-901fe3d7c032d284da5c9bce24c4aaee9054c7ac.tar.bz2 timeline-901fe3d7c032d284da5c9bce24c4aaee9054c7ac.zip |
Fix lint errors.
Diffstat (limited to 'FrontEnd/src/pages/timeline/view')
-rw-r--r-- | FrontEnd/src/pages/timeline/view/MarkdownPostView.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/FrontEnd/src/pages/timeline/view/MarkdownPostView.tsx b/FrontEnd/src/pages/timeline/view/MarkdownPostView.tsx index caf6eef0..9bb9f980 100644 --- a/FrontEnd/src/pages/timeline/view/MarkdownPostView.tsx +++ b/FrontEnd/src/pages/timeline/view/MarkdownPostView.tsx @@ -40,8 +40,7 @@ export default function MarkdownPostView({ const markdownHtml = useMemo<string | null>(() => { if (markdown == null) return null; return marked.parse(markdown, { - mangle: false, - headerIds: false, + async: false, }); }, [markdown]); |