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 3f4e2b7 commit 4564b45Copy full SHA for 4564b45
src/components/ConversationCard/index.jsx
@@ -97,7 +97,7 @@ function ConversationCard(props) {
97
const updateAnswer = (value, appended, newType, done = false) => {
98
setConversationItemData((old) => {
99
const copy = [...old]
100
- const index = copy.findLastIndex((v) => v.type === 'answer')
+ const index = copy.findLastIndex((v) => v.type === 'answer' || v.type === 'error')
101
if (index === -1) return copy
102
copy[index] = new ConversationItemData(
103
newType,
0 commit comments