Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Fix data not synchronized if you reopen the projects from the dashboard (#1508)

Ivan Starkov885fa38885af
diff --git a/apps/builder/app/shared/sync/sync-stores.ts b/apps/builder/app/shared/sync/sync-stores.ts
index 0d855f4a1a..fc5ef7376a 100644
--- a/apps/builder/app/shared/sync/sync-stores.ts
+++ b/apps/builder/app/shared/sync/sync-stores.ts
@@ -303,4 +303,10 @@ export const useBuilderStore = (publish: Publish) => {
};
});
}, [publish]);
+
+ useEffect(() => {
+ return () => {
+ handshakenStore.set(false);
+ };
+ }, []);
};