<Message> shouldn't be a PureComponent. It re-renders every time
This commit is contained in:
parent
013923d3c1
commit
86a01f289d
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ type State = {
|
|||
const EXPIRATION_CHECK_MINIMUM = 2000;
|
||||
const EXPIRED_DELAY = 600;
|
||||
|
||||
export class Message extends React.PureComponent<Props, State> {
|
||||
export class Message extends React.Component<Props, State> {
|
||||
public menuTriggerRef: Trigger | undefined;
|
||||
|
||||
public focusRef: React.RefObject<HTMLDivElement> = React.createRef();
|
||||
|
|
Loading…
Reference in a new issue