summaryrefslogtreecommitdiffstats
path: root/web_src/js/markup/mermaid.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/markup/mermaid.js')
-rw-r--r--web_src/js/markup/mermaid.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/markup/mermaid.js b/web_src/js/markup/mermaid.js
index a5bd0e235c..0319cbb6f0 100644
--- a/web_src/js/markup/mermaid.js
+++ b/web_src/js/markup/mermaid.js
@@ -11,7 +11,7 @@ function displayError(el, err) {
export async function renderMermaid(els) {
if (!els || !els.length) return;
- const mermaid = await import(/* webpackChunkName: "mermaid" */'mermaid');
+ const {default: mermaid} = await import(/* webpackChunkName: "mermaid" */'mermaid');
mermaid.initialize({
mermaid: {