clear bug fixed
This commit is contained in:
parent
2e4111c36f
commit
2b6ef515e0
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@ export default function Chat({ flow, reactFlowInstance }: ChatType) {
|
|||
let tabsChange = false;
|
||||
setChatHistory((old) => {
|
||||
let newChat = _.cloneDeep(old);
|
||||
if(flow.chat !==old){
|
||||
if(JSON.stringify(flow.chat) !==JSON.stringify(old)){
|
||||
console.log(old,flow.chat)
|
||||
tabsChange = true
|
||||
return old
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue