bug found but not solved yet
This commit is contained in:
parent
3e59c9f820
commit
705ad01045
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ export default function Chat({flow, reactFlowInstance }) {
|
||||||
return newChat;
|
return newChat;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
//bug here why??
|
||||||
useEffect(()=>{
|
useEffect(()=>{
|
||||||
updateFlow({..._.cloneDeep(flow),chat:chatHistory})
|
updateFlow({..._.cloneDeep(flow),chat:chatHistory})
|
||||||
},[chatHistory])
|
},[chatHistory])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue