From 705ad01045f10dc83ab347ed896477d0b3c4175e Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Sat, 25 Feb 2023 21:16:28 -0300 Subject: [PATCH] bug found but not solved yet --- 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 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])