Skip to content

Commit

Permalink
corrected typo
Browse files Browse the repository at this point in the history
  • Loading branch information
embernet committed May 20, 2024
1 parent de9118c commit eed93d7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions web_ui/src/MermaidDiagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ const MermaidDiagram = memo(({ markdown, escapedMarkdown }) => {
});
})();
});
};
image.src = 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgData);
} catch (error) {
system.error('Error copying image to clipboard', error);
};
image.src = 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgData);
} catch (error) {
system.error('Error copying image to clipboard', error);
}
}
};

Expand Down

0 comments on commit eed93d7

Please sign in to comment.