fix messages v6

This commit is contained in:
Lucas Oliveira 2023-02-23 18:16:57 -03:00
commit c0e053ce18

View file

@ -109,6 +109,7 @@ export default function Chat({ reactFlowInstance }) {
setChatValue("");
addChatHistory(message, true);
sendAll({...reactFlowInstance.toObject(),message}).then((r) => {console.log(r.data.result); addChatHistory(r.data.result, false);});
addChatHistory('teste', false);
} else {
setErrorData({title: 'Error sending message', list:['Chat nodes are missing.']})
}