Skip to content

Commit

Permalink
fix(Mermaid): Remove extra console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 committed Apr 6, 2023
1 parent 9e57cbc commit cfbddd5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/mermaid_renderer.js
Expand Up @@ -4,10 +4,7 @@ window.renderMermaidChart = async (chartData, mermaidConfig) => {
mermaid.initialize({ ...mermaidConfig, startOnLoad: false });

return new Promise(async (resolve) => {
console.log({ chartData });
const { svg } = await mermaid.render("graphDiv2", chartData);
console.log({ svg });

const chartElement = document.querySelector("#graphDiv");
chartElement.innerHTML = svg;

Expand Down

0 comments on commit cfbddd5

Please sign in to comment.