refactor: rewrite collabWrapper to remove TDZs and simplify (#2834)
This commit is contained in:
@ -100,5 +100,5 @@ const initLocalStorage = (data: ImportedDataState) => {
|
||||
};
|
||||
|
||||
export const updateSceneData = (data: SceneData) => {
|
||||
(window.h.collab as any).excalidrawRef.current.updateScene(data);
|
||||
(window.h.collab as any).excalidrawAPI.updateScene(data);
|
||||
};
|
||||
|
Reference in New Issue
Block a user