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 <> }