Skip to content

Commit 818f245

Browse files
committed
fix(canvas): fix nodesForRender early-return guard for regular blocks
1 parent 86ef8eb commit 818f245

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/workflow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3752,7 +3752,7 @@ const WorkflowContent = React.memo(
37523752
: node.id === lastInteractedNodeId
37533753
? Math.max(base, 22)
37543754
: base
3755-
if (target === node.zIndex) return node
3755+
if (target === (node.zIndex ?? 21)) return node
37563756
return { ...node, zIndex: target }
37573757
})
37583758
}, [displayNodes, lastInteractedNodeId])

0 commit comments

Comments
 (0)