mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-22 16:57:00 +08:00
chore(editor): rename std.doc to std.store (#9596)
This commit is contained in:
@@ -41,7 +41,7 @@ export abstract class RootService extends BlockService {
|
||||
}
|
||||
|
||||
get viewportElement() {
|
||||
const rootId = this.std.doc.root?.id;
|
||||
const rootId = this.std.store.root?.id;
|
||||
if (!rootId) return null;
|
||||
const rootComponent = this.std.view.getBlock(
|
||||
rootId
|
||||
|
||||
Reference in New Issue
Block a user