diff --git a/space_flow/src/components/chatComponent/index.tsx b/space_flow/src/components/chatComponent/index.tsx index f227bc66b..d001f26c5 100644 --- a/space_flow/src/components/chatComponent/index.tsx +++ b/space_flow/src/components/chatComponent/index.tsx @@ -26,6 +26,7 @@ export default function Chat({flow, reactFlowInstance }) { return newChat; }); }; + //bug here why?? useEffect(()=>{ updateFlow({..._.cloneDeep(flow),chat:chatHistory}) },[chatHistory])