From 3e4314e7f3b333995f78874180c707c722735463 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 16 Jul 2021 13:53:14 -0700 Subject: [PATCH] Update comment based on 'small object' version of code. --- src/domain/session/room/timeline/tiles/BaseTextTile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/room/timeline/tiles/BaseTextTile.js b/src/domain/session/room/timeline/tiles/BaseTextTile.js index 7053d5c6..4e94c958 100644 --- a/src/domain/session/room/timeline/tiles/BaseTextTile.js +++ b/src/domain/session/room/timeline/tiles/BaseTextTile.js @@ -42,7 +42,7 @@ export class BaseTextTile extends BaseMessageTile { get body() { const body = this._getBody(); const format = this._getBodyFormat(); - // body.string is a string, so we can check for difference by just + // body is a string, so we can check for difference by just // doing an equality check // Even if the body hasn't changed, but the format has, we need // to re-fill our cache.