From 86a01f289d55f11f9346ef4870f6e6822f7faa74 Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Mon, 26 Apr 2021 16:12:48 -0500 Subject: [PATCH] shouldn't be a PureComponent. It re-renders every time --- ts/components/conversation/Message.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/conversation/Message.tsx b/ts/components/conversation/Message.tsx index 17099d1fe6f9..fa2f56638a50 100644 --- a/ts/components/conversation/Message.tsx +++ b/ts/components/conversation/Message.tsx @@ -236,7 +236,7 @@ type State = { const EXPIRATION_CHECK_MINIMUM = 2000; const EXPIRED_DELAY = 600; -export class Message extends React.PureComponent { +export class Message extends React.Component { public menuTriggerRef: Trigger | undefined; public focusRef: React.RefObject = React.createRef();