[FIX] Unnecessary rerender on RoomItem when status is undefined (#1336)
This commit is contained in:
parent
d15a5612db
commit
30f1921fe9
|
@ -164,7 +164,8 @@ RoomItem.propTypes = {
|
|||
};
|
||||
|
||||
RoomItem.defaultProps = {
|
||||
avatarSize: 48
|
||||
avatarSize: 48,
|
||||
status: 'offline'
|
||||
};
|
||||
|
||||
const mapStateToProps = (state, ownProps) => ({
|
||||
|
|
Loading…
Reference in New Issue