@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/js",
|
||||
"version": "0.2.34",
|
||||
"version": "0.2.35",
|
||||
"description": "Javascript library to display typebots on your website",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
||||
@@ -284,8 +284,7 @@ export const ConversationContainer = (props: Props) => {
|
||||
hideAvatar={
|
||||
!chatChunk.input &&
|
||||
((chatChunks()[index() + 1]?.messages ?? 0).length > 0 ||
|
||||
chatChunks()[index() + 1]?.streamingMessageId !== undefined ||
|
||||
isSending())
|
||||
chatChunks()[index() + 1]?.streamingMessageId !== undefined)
|
||||
}
|
||||
hasError={hasError() && index() === chatChunks().length - 1}
|
||||
onNewBubbleDisplayed={handleNewBubbleDisplayed}
|
||||
|
||||
Reference in New Issue
Block a user