From 17bc4cbb04b3113dc1e42c9808ef2f512924b521 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Wed, 5 Mar 2025 15:32:47 -0800 Subject: [PATCH] fix: Dont rely on thread ID for when chat started --- src/components/thread/index.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/thread/index.tsx b/src/components/thread/index.tsx index 0acbc07..e27d7f5 100644 --- a/src/components/thread/index.tsx +++ b/src/components/thread/index.tsx @@ -162,16 +162,18 @@ export function Thread() { }); }; + const chatStarted = !!threadId || !!messages.length + return (
- {threadId && ( + {chatStarted && (