diff --git a/src/components/markdown/MarkdownRender.tsx b/src/components/markdown/MarkdownRender.tsx index df973d5c3..9b8208872 100644 --- a/src/components/markdown/MarkdownRender.tsx +++ b/src/components/markdown/MarkdownRender.tsx @@ -14,8 +14,8 @@ const MarkdownRender: React.FC = (props) => { props.rehypePlugin === undefined ? [] : props.rehypePlugin === "rehypeKatex" - ? [rehypeKatex] - : [rehypeMathjax]; + ? [rehypeKatex] + : [rehypeMathjax]; return ( { - localStorage.setItem('isdark', JSON.stringify(isdark)); + localStorage.setItem("isdark", JSON.stringify(isdark)); }, [isdark]); return (