1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00

Small cleanup around the room status bar and auxpanel to prevent redundant state updates

This commit is contained in:
Michael Telatynski
2021-06-16 12:06:41 +01:00
parent e3a6ce13cd
commit d87325ae6a
5 changed files with 17 additions and 26 deletions

View File

@@ -41,7 +41,7 @@ export function getUnsentMessages(room) {
}
@replaceableComponent("structures.RoomStatusBar")
export default class RoomStatusBar extends React.Component {
export default class RoomStatusBar extends React.PureComponent {
static propTypes = {
// the room this statusbar is representing.
room: PropTypes.object.isRequired,