From e729561a707047a4f859c3702d908ebe21aef2c7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 10 Apr 2020 13:16:48 +0100 Subject: [PATCH] Import mermaid as const --- static/src/js/mermaid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/src/js/mermaid.js b/static/src/js/mermaid.js index 7519d2a..d944bc8 100644 --- a/static/src/js/mermaid.js +++ b/static/src/js/mermaid.js @@ -1,4 +1,4 @@ -let mermaid = require('mermaid'); +const mermaid = require('mermaid'); $(document).ready(function() { mermaid.initialize({