Skip to content

Commit 0ba715d

Browse files
committed
fix linting error
1 parent 894d7d3 commit 0ba715d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/mermaid.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ export default function Mermaid() {
3030
if (mermaidBlocks.length === 0) {
3131
return;
3232
}
33-
// @ts-ignore
3433
const {default: mermaid} = await import('mermaid');
35-
mermaid.initialize({startOnLoad: false, theme: 'light'});
34+
mermaid.initialize({startOnLoad: false});
3635
mermaidBlocks.forEach(lightModeblock => {
3736
// get rid of code highlighting
3837
const code = lightModeblock.textContent ?? '';

0 commit comments

Comments
 (0)