Skip to content

Commit

Permalink
Merge pull request #4316 from agentraghav/agentraghav-pie-chart-demos…
Browse files Browse the repository at this point in the history
…-fix

pie diagram mermaid module import fix
  • Loading branch information
sidharthv96 committed Apr 19, 2023
2 parents 8dfad24 + ff3104a commit 39f9277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/pie.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1>Pie chart demos</h1>
</pre>

<script type="module">
import mermaid from '../packages/mermaid/src/mermaid';
import mermaid from './mermaid.esm.mjs';
mermaid.initialize({
theme: 'forest',
// themeCSS: '.node rect { fill: red; }',
Expand Down

0 comments on commit 39f9277

Please sign in to comment.