diff --git a/packages/frontend/src/scripts/entity-manager.ts b/packages/frontend/src/scripts/entity-manager.ts index b3542aac4b..a191fedbad 100644 --- a/packages/frontend/src/scripts/entity-manager.ts +++ b/packages/frontend/src/scripts/entity-manager.ts @@ -306,6 +306,10 @@ export class NoteManager { if (this.isDebuggerEnabled) console.log('NoteManager: onStreamNoteUpdated (found)', id, note.value, { type, id, body }); } + /** + * note.valueを直接いじるとcomputedが更新されない場合があるため、 + * diffで上書きする形で更新する + */ const diff: Partial = {}; switch (type) {