From c0e053ce186674664b4c10deb8e69e901d6adf73 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Thu, 23 Feb 2023 18:16:57 -0300 Subject: [PATCH] fix messages v6 --- space_flow/src/components/chatComponent/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/space_flow/src/components/chatComponent/index.tsx b/space_flow/src/components/chatComponent/index.tsx index 2d3765605..57e6e44e1 100644 --- a/space_flow/src/components/chatComponent/index.tsx +++ b/space_flow/src/components/chatComponent/index.tsx @@ -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.']}) }