Enhance ChatBubble and ChatBOX components to display loading messages; improve structure and formatting for better readability
This commit is contained in:
@@ -680,7 +680,9 @@ export default function ChatBOX(props: {
|
||||
))}
|
||||
{showGenerating && (
|
||||
<ChatBubble variant="received">
|
||||
<ChatBubbleMessage isLoading />
|
||||
<ChatBubbleMessage isLoading>
|
||||
{generatingMessage}
|
||||
</ChatBubbleMessage>
|
||||
</ChatBubble>
|
||||
)}
|
||||
<p className="text-center">
|
||||
|
||||
Reference in New Issue
Block a user