We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59508f7 commit a34e4c5Copy full SHA for a34e4c5
frontend/src/components/Chat.tsx
@@ -79,7 +79,7 @@ export function Chat(props: ChatProps) {
79
"An error has occurred. Please try again."}
80
</div>
81
)}
82
- {next.length && props.stream?.status !== "inflight" && (
+ {next.length > 0 && props.stream?.status !== "inflight" && (
83
<div
84
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"
85
onClick={() => props.startStream(null, currentChat.thread_id)}
0 commit comments