Skip to content

Commit 535a9d3

Browse files
Vikhyath MondretiVikhyath Mondreti
authored andcommitted
revert tab sync
1 parent 6c6131e commit 535a9d3

File tree

2 files changed

+0
-314
lines changed

2 files changed

+0
-314
lines changed

apps/sim/app/w/[id]/workflow.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import { LoopNodeComponent } from '@/app/w/[id]/components/loop-node/loop-node'
1818
import { NotificationList } from '@/app/w/[id]/components/notifications/notifications'
1919
import { ParallelNodeComponent } from '@/app/w/[id]/components/parallel-node/parallel-node'
2020
import { getBlock } from '@/blocks'
21-
import { useTabSync } from '@/hooks/use-tab-sync'
2221
import { useExecutionStore } from '@/stores/execution/store'
2322
import { useNotificationStore } from '@/stores/notifications/store'
2423
import { useVariablesStore } from '@/stores/panel/variables/store'
@@ -98,11 +97,6 @@ function WorkflowContent() {
9897
const { isDebugModeEnabled } = useGeneralStore()
9998
const [dragStartParentId, setDragStartParentId] = useState<string | null>(null)
10099

101-
// Tab synchronization hook - automatically syncs workflow when tab becomes visible
102-
useTabSync({
103-
enabled: true,
104-
})
105-
106100
// Helper function to update a node's parent with proper position calculation
107101
const updateNodeParent = useCallback(
108102
(nodeId: string, newParentId: string | null) => {

apps/sim/hooks/use-tab-sync.ts

Lines changed: 0 additions & 308 deletions
This file was deleted.

0 commit comments

Comments
 (0)