Skip to content

Commit 5a8a703

Browse files
authored
fix(duplicate): fixed detached state on duplication (#1011)
1 parent 6f64188 commit 5a8a703

File tree

1 file changed

+0
-4
lines changed
  • apps/sim/stores/workflows/registry

1 file changed

+0
-4
lines changed

apps/sim/stores/workflows/registry/store.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,10 +1212,6 @@ export const useWorkflowRegistry = create<WorkflowRegistry>()(
12121212
}))
12131213
}
12141214

1215-
// Set as active workflow and update store
1216-
set({ activeWorkflowId: id })
1217-
useWorkflowStore.setState(newState)
1218-
12191215
// Workflow has already been persisted to the database via the duplication endpoint
12201216

12211217
logger.info(

0 commit comments

Comments
 (0)