Commit 01f62286 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent e9d14601
......@@ -279,14 +279,14 @@
editedContent = '';
await tick();
renderStyling();
renderLatex();
};
const cancelEditMessage = async () => {
edit = false;
editedContent = '';
await tick();
renderStyling();
renderLatex();
};
const generateImage = async (message) => {
......@@ -311,7 +311,7 @@
$: if (!edit) {
(async () => {
await tick();
renderStyling();
renderLatex();
await mermaid.run({
querySelector: '.mermaid'
......@@ -321,7 +321,7 @@
onMount(async () => {
await tick();
renderStyling();
renderLatex();
await mermaid.run({
querySelector: '.mermaid'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment