From 451b2ad26f9e237eea1773a10db980ca038d909a Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 11 Aug 2023 15:45:55 +0000 Subject: [PATCH] =?UTF-8?q?100ms=E4=BB=A5=E5=86=85=E3=81=AB=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E3=81=95=E3=82=8C=E3=81=9F=E3=83=8E=E3=83=BC=E3=83=88?= =?UTF-8?q?=E3=81=AF=E7=84=A1=E8=A6=96=E3=82=92=E3=82=84=E3=82=81=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/scripts/entity-manager.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/frontend/src/scripts/entity-manager.ts b/packages/frontend/src/scripts/entity-manager.ts index 21ce3b4a59..b09d1c3cd5 100644 --- a/packages/frontend/src/scripts/entity-manager.ts +++ b/packages/frontend/src/scripts/entity-manager.ts @@ -107,14 +107,6 @@ export class NoteManager { } public set(_note: Note): void { - if (this.updatedAt.has(_note.id)) { - if (this.updatedAt.get(_note.id)! + 100 > Date.now()) { - if (this.isDebuggerEnabled) console.log('NoteManager: set ignore', _note.id); - // 100ms以内に更新されたノートは無視(computedが壊れるので) - return; - } - } - const note: Note = { ..._note }; userLiteManager.set(note.user);