mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 00:41:39 +08:00
feat(editor): replace slot with rxjs subject (#10768)
This commit is contained in:
@@ -62,7 +62,7 @@ export class SurfaceRefNotePortal extends WithDisposable(ShadowlessElement) {
|
||||
|
||||
override firstUpdated() {
|
||||
this.disposables.add(
|
||||
this.model.propsUpdated.on(() => this.requestUpdate())
|
||||
this.model.propsUpdated.subscribe(() => this.requestUpdate())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user