small log fix

This commit is contained in:
James
2025-12-23 20:39:28 -05:00
parent 3307ff8100
commit 686a24d3c6
2 changed files with 0 additions and 37 deletions

View File

@@ -142,9 +142,6 @@ function GraphCanvasInner({
// No new nodes - just update data without changing positions
setNodes((currentNodes) => {
const positionMap = new Map(currentNodes.map((n) => [n.id, n.position]));
// Filter to only include nodes that still exist
const existingNodeIds = new Set(layoutedNodes.map((n) => n.id));
return layoutedNodes.map((node) => ({
...node,
position: positionMap.get(node.id) || node.position,