From fe2ef5e0c69f399d6e50cf657e88acc2dd565be2 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 21 Feb 2023 16:33:42 +0530 Subject: [PATCH] Remove `null` from diagrams before render --- packages/mermaid/src/docs/.vitepress/theme/Mermaid.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid/src/docs/.vitepress/theme/Mermaid.vue b/packages/mermaid/src/docs/.vitepress/theme/Mermaid.vue index 85c13393c..5012d3067 100644 --- a/packages/mermaid/src/docs/.vitepress/theme/Mermaid.vue +++ b/packages/mermaid/src/docs/.vitepress/theme/Mermaid.vue @@ -17,7 +17,7 @@ const props = defineProps({ }, }); -const svg = ref(null); +const svg = ref(''); let mut = null; onMounted(async () => {