diff --git a/packages/userscript/src/main.tsx b/packages/userscript/src/main.tsx index ffa9ba3..f655023 100644 --- a/packages/userscript/src/main.tsx +++ b/packages/userscript/src/main.tsx @@ -102,7 +102,7 @@ function main() { const { conversationNodes } = processConversation(rawConversation, conversationChoices) threadContents.forEach((thread, index) => { - const createTime = conversationNodes[index].message?.create_time + const createTime = conversationNodes[index]?.message?.create_time if (!createTime) return const date = new Date(createTime * 1000)