From b7eff41826b53bfa98ba17a54775d8922076cca9 Mon Sep 17 00:00:00 2001 From: arpitnath Date: Fri, 27 Oct 2023 18:58:16 +0530 Subject: [PATCH] test: ymap updates-1 --- frontend/src/Editor/Editor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Editor/Editor.jsx b/frontend/src/Editor/Editor.jsx index 83a150eee3..6f321d3f3e 100644 --- a/frontend/src/Editor/Editor.jsx +++ b/frontend/src/Editor/Editor.jsx @@ -352,7 +352,7 @@ const EditorComponent = (props) => { if (!config.ENABLE_MULTIPLAYER_EDITING) return null; // Observe changes in the 'appDef' property of the 'ymap' object - props.ymap?.observe(() => { + props.ymap?.observeDeep(() => { const ymapUpdates = props.ymap?.get('appDef'); // Check if there is a new session and if others are on the same version and page