Skip to content

Commit

Permalink
fix(ui): correct incomplete answer content rendering in chat sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung committed Dec 13, 2024
1 parent 985d7db commit ae07b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/tabby-ui/components/chat/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function ChatRenderer(
}

React.useEffect(() => {
if (!isLoading || !qaPairs?.length || !answer) return
if (!qaPairs?.length || !answer) return

const lastQaPairs = qaPairs[qaPairs.length - 1]

Expand Down

0 comments on commit ae07b89

Please sign in to comment.