Commit 7a5a8031 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: chat history styling

parent 64ee3e57
...@@ -385,7 +385,6 @@ ...@@ -385,7 +385,6 @@
} }
renderLatex(); renderLatex();
hljs.highlightAll(); hljs.highlightAll();
createCopyCodeBlockButton(); createCopyCodeBlockButton();
} }
...@@ -546,6 +545,12 @@ ...@@ -546,6 +545,12 @@
history.currentId = messageId; history.currentId = messageId;
} }
} }
await tick();
renderLatex();
hljs.highlightAll();
createCopyCodeBlockButton();
}; };
const showNextMessage = async (message) => { const showNextMessage = async (message) => {
...@@ -586,6 +591,12 @@ ...@@ -586,6 +591,12 @@
history.currentId = messageId; history.currentId = messageId;
} }
} }
await tick();
renderLatex();
hljs.highlightAll();
createCopyCodeBlockButton();
}; };
////////////////////////// //////////////////////////
......
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