fix: removes delay for running flow skeleton (#4679)
Update rendering logic for chat messages && running flow
This commit is contained in:
parent
50defedfe6
commit
d28c7f4f30
1 changed files with 1 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ export default function ChatView({
|
|||
onDrop={onDrop}
|
||||
>
|
||||
<div ref={messagesRef} className="chat-message-div">
|
||||
{chatHistory?.length > 0 ? (
|
||||
{lockChat || chatHistory?.length > 0 ? (
|
||||
chatHistory.map((chat, index) => (
|
||||
<ChatMessage
|
||||
setLockChat={setLockChat}
|
||||
|
|
@ -181,7 +181,6 @@ export default function ChatView({
|
|||
ref={ref}
|
||||
>
|
||||
{lockChat &&
|
||||
chatHistory.length > 0 &&
|
||||
!(chatHistory[chatHistory.length - 1]?.category === "error") &&
|
||||
flowRunningSkeletonMemo}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue