think bug fixed

This commit is contained in:
anovazzi1 2023-04-26 01:37:56 -03:00
commit 4f7630fa05

View file

@ -44,7 +44,7 @@ export default function ChatModal({
setChatHistory((old) => { setChatHistory((old) => {
let newChat = _.cloneDeep(old); let newChat = _.cloneDeep(old);
if (files) { if (files) {
newChat.push({ message, isSend, files }); newChat.push({ message, isSend, files,thought });
} else if (thought) { } else if (thought) {
newChat.push({ message, isSend, thought }); newChat.push({ message, isSend, thought });
} else { } else {