From 1b9a951d66237f23be6b940314260595c120f01d Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Fri, 23 Jun 2023 10:46:47 +0800 Subject: [PATCH] =?UTF-8?q?mermaid=20=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/PrismMac.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/PrismMac.js b/components/PrismMac.js index 5faf3f10..ede1f565 100644 --- a/components/PrismMac.js +++ b/components/PrismMac.js @@ -30,11 +30,9 @@ const PrismMac = () => { window.Prism.plugins.autoloader.languages_path = BLOG.PRISM_JS_PATH } renderPrismMac() + renderMermaid() }) } - setTimeout(() => { - renderMermaid() - }, 500) }, []) return <> }