Skip to content

Commit 4ba409c

Browse files
committed
fix: revert change
1 parent a3a9087 commit 4ba409c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/index.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,7 @@ export default {
6363
6464
this.$el.removeAttribute('data-processed');
6565
66-
mermaid.parseError = error => {
67-
console.log('reacting to parse-error');
68-
console.log(error);
69-
this.$emit('parse-error', error);
70-
};
66+
mermaid.parseError = error => this.$emit('parse-error', error);
7167
7268
try {
7369
await mermaid.run({

0 commit comments

Comments
 (0)