Skip to content

Commit 3359d7b

Browse files
committed
Fix ops
1 parent b7d0f20 commit 3359d7b

File tree

1 file changed

+0
-2
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,6 @@ export const WorkflowBlock = memo(function WorkflowBlock({
631631
? ((credValue as { value?: unknown }).value as string | undefined)
632632
: (credValue as string | undefined)
633633
if (prevCredRef.current !== cred) {
634-
// Only clear dependent fields when credential changes from one value to another,
635-
// not when it's being set for the first time (e.g., during copilot block creation)
636634
const hadPreviousCredential = prevCredRef.current !== undefined
637635
prevCredRef.current = cred
638636
if (hadPreviousCredential) {

0 commit comments

Comments
 (0)