mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 23:07:02 +08:00
feat(core): doc level awareness (#10646)
This commit is contained in:
@@ -50,7 +50,7 @@ const useLoadDoc = (pageId: string) => {
|
||||
if (doc && isInTrash) {
|
||||
doc.blockSuiteDoc.readonly = true;
|
||||
}
|
||||
}, [currentWorkspace.docCollection.awarenessStore, doc, isInTrash]);
|
||||
}, [doc, isInTrash]);
|
||||
|
||||
return {
|
||||
doc,
|
||||
|
||||
Reference in New Issue
Block a user