checking type from chat history

This commit is contained in:
anovazzi1 2023-04-25 22:12:33 -03:00
commit 2196111bf2

View file

@ -73,7 +73,7 @@ export default function ChatModal({
type: string; type: string;
data?:string; data?:string;
}) => { }) => {
if(chatItem.type==="file"){ if(chatItem.type==="end"){
newChatHistory.push({ newChatHistory.push({
isSend: !chatItem.is_bot, isSend: !chatItem.is_bot,
message: chatItem.message, message: chatItem.message,