Update ResultNode.tsx
This commit is contained in:
@@ -7,10 +7,6 @@ function ResultNode() {
|
|||||||
});
|
});
|
||||||
const nodesData = useNodesData(connections.map((connection) => connection.source));
|
const nodesData = useNodesData(connections.map((connection) => connection.source));
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
console.log('incoming data changed', nodesData);
|
|
||||||
}, [nodesData]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ background: '#eee', color: '#222', padding: 10, fontSize: 12, borderRadius: 10 }}>
|
<div style={{ background: '#eee', color: '#222', padding: 10, fontSize: 12, borderRadius: 10 }}>
|
||||||
<Handle type="target" position={Position.Left} />
|
<Handle type="target" position={Position.Left} />
|
||||||
|
|||||||
Reference in New Issue
Block a user