fix(canvas): replace undefined structureSignature with nodeSetSignature
Some checks failed
Stuffle/agos-client/pipeline/head There was a failure building this commit

The fitView effect referenced structureSignature which does not exist
in this scope — the correct variable is nodeSetSignature. This caused
a ReferenceError at runtime when the effect ran after adding an edge.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
2026-08-21 19:59:59 +05:30
parent 8222c7bf1e
commit cee213e042

View File

@@ -164,7 +164,7 @@ export function WorkflowCanvas({
flowInstance.fitView({ padding: 0.3, duration: 260, maxZoom: 1.05, minZoom: 0.2 })
}, 30)
return () => window.clearTimeout(t)
}, [flowInstance, structureSignature])
}, [flowInstance, nodeSetSignature])
// Edge creation with validation
const handleConnect = useCallback((conn: Connection) => {