From 40b5f868de7676ff4fb0774410bb699b40093bd0 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 20 Feb 2023 01:19:07 +0530 Subject: [PATCH] Cleanup --- packages/mermaid/src/Diagram.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid/src/Diagram.ts b/packages/mermaid/src/Diagram.ts index 3a0818854..fc1f7e8f0 100644 --- a/packages/mermaid/src/Diagram.ts +++ b/packages/mermaid/src/Diagram.ts @@ -78,7 +78,7 @@ export const getDiagramFromText = async (txt: string): Promise => { if (!loader) { throw new UnknownDiagramError(`Diagram ${type} not found.`); } - // Diagram not available, loading it + // Diagram not available, loading it. // new diagram will try getDiagram again and if fails then it is a valid throw const { id, diagram } = await loader(); registerDiagram(id, diagram);