Skip to content

Commit

Permalink
await/async for mermaid.render
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Aug 1, 2023
1 parent 7b5a548 commit 2130e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lib/MermaidDiagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class MermaidDiagram extends HTMLElement {
super();
}

connectedCallback() {
async connectedCallback() {
const diagram = this.getAttribute("diagram");
const themeName = this.getAttribute("theme-name");

Expand Down

0 comments on commit 2130e8f

Please sign in to comment.