File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId] Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1788,18 +1788,6 @@ const WorkflowContent = React.memo(() => {
17881788 return
17891789 }
17901790
1791- // Recovery: detect and clear invalid parent references to prevent infinite recursion
1792- if ( block . data ?. parentId ) {
1793- if ( block . data . parentId === block . id ) {
1794- block . data = { ...block . data , parentId : undefined , extent : undefined }
1795- } else {
1796- const parentBlock = blocks [ block . data . parentId ]
1797- if ( parentBlock ?. data ?. parentId === block . id ) {
1798- block . data = { ...block . data , parentId : undefined , extent : undefined }
1799- }
1800- }
1801- }
1802-
18031791 // Handle container nodes differently
18041792 if ( block . type === 'loop' || block . type === 'parallel' ) {
18051793 nodeArray . push ( {
You can’t perform that action at this time.
0 commit comments