mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-30 00:29:46 +08:00
feat(editor): replace slot with rxjs subject (#10768)
This commit is contained in:
@@ -159,7 +159,7 @@ export class TestAffineEditorContainer extends SignalWatcher(
|
||||
super.connectedCallback();
|
||||
|
||||
this._disposables.add(
|
||||
this.doc.slots.rootAdded.on(() => this.requestUpdate())
|
||||
this.doc.slots.rootAdded.subscribe(() => this.requestUpdate())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user