This commit is contained in:
Timothy J. Baek 2024-10-06 13:14:35 -07:00
parent 8a3c9b9a3e
commit 90effa925e

View File

@ -32,7 +32,7 @@
const getContents = () => {
contents = [];
messages.forEach((message) => {
if (message.content) {
if (message?.content) {
const codeBlockContents = message.content.match(/```[\s\S]*?```/g);
let codeBlocks = [];