<Message>
: avoid state change when cleaning up reaction root elements
This commit is contained in:
parent
0260e61348
commit
9b269cb43f
1 changed files with 2 additions and 2 deletions
|
@ -1894,7 +1894,7 @@ export class Message extends React.PureComponent<Props, State> {
|
|||
};
|
||||
}
|
||||
|
||||
return { reactionViewerRoot: null };
|
||||
return null;
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -1925,7 +1925,7 @@ export class Message extends React.PureComponent<Props, State> {
|
|||
};
|
||||
}
|
||||
|
||||
return { reactionPickerRoot: null };
|
||||
return null;
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue