Skip to content

Commit 58b7f67

Browse files
committed
remove unused "event" to pass linting
1 parent 0e25eab commit 58b7f67

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/Mermaid.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ const { graph, hasBorder = false } = Astro.props
2929
</style>
3030

3131
<script>
32-
import mermaid from "/node_modules/mermaid/dist/mermaid.esm.min.mjs";
33-
mermaid.initialize({ startOnLoad: true });
32+
import mermaid from '/node_modules/mermaid/dist/mermaid.esm.min.mjs'
33+
mermaid.initialize({ startOnLoad: true })
3434
</script>

src/components/MermaidWrapper.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const {
8181
const url = URL.createObjectURL(blob)
8282
const win = open(url)
8383
if (win) {
84-
win.onload = (event) => URL.revokeObjectURL(url)
84+
win.onload = () => URL.revokeObjectURL(url)
8585
}
8686
}
8787

0 commit comments

Comments
 (0)