mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-19 07:17:00 +08:00
chore: remove awareness sync since it's not used (#9563)
This commit is contained in:
@@ -226,7 +226,6 @@ export class AISlidesRenderer extends WithDisposable(LitElement) {
|
||||
id: 'SLIDES_PREVIEW',
|
||||
});
|
||||
collection.meta.initialize();
|
||||
collection.start();
|
||||
const doc = collection.createDoc();
|
||||
|
||||
doc.load(() => {
|
||||
|
||||
@@ -102,8 +102,6 @@ export class MiniMindmapPreview extends WithDisposable(LitElement) {
|
||||
schema,
|
||||
});
|
||||
collection.meta.initialize();
|
||||
collection.start();
|
||||
|
||||
const doc = collection.createDoc({ id: 'doc:home' }).load();
|
||||
const rootId = doc.addBlock('affine:page', {});
|
||||
const surfaceId = doc.addBlock('affine:surface', {}, rootId);
|
||||
|
||||
Reference in New Issue
Block a user