Skip to content

Commit a34e4c5

Browse files
committed
Fix
1 parent 59508f7 commit a34e4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/Chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function Chat(props: ChatProps) {
7979
"An error has occurred. Please try again."}
8080
</div>
8181
)}
82-
{next.length && props.stream?.status !== "inflight" && (
82+
{next.length > 0 && props.stream?.status !== "inflight" && (
8383
<div
8484
className="flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-800 ring-1 ring-inset ring-yellow-600/20 cursor-pointer"
8585
onClick={() => props.startStream(null, currentChat.thread_id)}

0 commit comments

Comments
 (0)