From 4aabcbbe6e11b731b7bc0e85779475142a261c47 Mon Sep 17 00:00:00 2001 From: 3446798488 <3446798488@qq.com> Date: Wed, 8 Nov 2023 09:57:13 +0000 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=BC=82=E6=AD=A5=E5=8A=A0=E8=BD=BD=20?= =?UTF-8?q?prism?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/mdRender/MDRender.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/mdRender/MDRender.tsx b/src/components/mdRender/MDRender.tsx index 62103a1c..dcdf0069 100644 --- a/src/components/mdRender/MDRender.tsx +++ b/src/components/mdRender/MDRender.tsx @@ -1,5 +1,5 @@ import ReactMarkdown from 'react-markdown'; -import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'; +import { PrismAsyncLight as SyntaxHighlighter } from 'react-syntax-highlighter'; import { atomDark, vs } from 'react-syntax-highlighter/dist/cjs/styles/prism'; import clsxm from '@/lib/clsxm';