Fixed useEffect bug

This commit is contained in:
Lucas Oliveira 2023-07-11 19:58:33 -03:00
commit 0471e99a86

View file

@ -72,7 +72,7 @@ export default function Chat({ flow }: ChatType) {
}
prevNodesRef.current = currentNodes;
}, [tabsState, flow.id, nodes]);
}, [tabsState, flow.id]);
return (
<>