mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(sync-manager): fixed sync
This commit is contained in:
+3
-3
@@ -10,9 +10,9 @@ import { useWorkflowRegistry } from './workflow/registry/store'
|
||||
import { useWorkflowStore } from './workflow/store'
|
||||
|
||||
// Initialize sync manager when the store is first imported
|
||||
// if (typeof window !== 'undefined') {
|
||||
// initializeSyncManager()
|
||||
// }
|
||||
if (typeof window !== 'undefined') {
|
||||
initializeSyncManager()
|
||||
}
|
||||
|
||||
// Reset all application stores to their initial state
|
||||
export const resetAllStores = () => {
|
||||
|
||||
Reference in New Issue
Block a user