diff --git a/space_flow/src/components/chatComponent/index.tsx b/space_flow/src/components/chatComponent/index.tsx index 99bebdd75..c2b43d280 100644 --- a/space_flow/src/components/chatComponent/index.tsx +++ b/space_flow/src/components/chatComponent/index.tsx @@ -18,13 +18,11 @@ export default function Chat({ reactFlowInstance }) { const [chatHistory, setChatHistory] = useState([]); const {setErrorData} = useContext(alertContext); const addChatHistory = (message, isSend) => { - console.log(message); setChatHistory((old) => { let newChat = _.cloneDeep(old); newChat.push({ message, isSend }); return newChat; }); - console.log(chatHistory); }; useEffect(()=>{ ref.current.scrollIntoView({behavior: 'smooth'}); @@ -80,7 +78,7 @@ export default function Chat({ reactFlowInstance }) { ) : (