mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 18:40:00 +08:00
fix(core): properties adapter reactivitiy issue (#5661)
This commit is contained in:
@@ -99,6 +99,7 @@ export const loader: LoaderFunction = async ({ params }) => {
|
||||
assertDownloadResponse(response);
|
||||
const { arrayBuffer } = response;
|
||||
applyUpdate(workspace.doc, new Uint8Array(arrayBuffer));
|
||||
workspace.doc.emit('sync', []);
|
||||
}
|
||||
const page = workspace.getPage(pageId);
|
||||
assertExists(page, 'cannot find page');
|
||||
|
||||
Reference in New Issue
Block a user