From 30f1921fe914d0f62f90d6e6aa10ae0bf2b057ce Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 29 Oct 2019 15:13:58 -0300 Subject: [PATCH] [FIX] Unnecessary rerender on RoomItem when status is undefined (#1336) --- app/presentation/RoomItem/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/presentation/RoomItem/index.js b/app/presentation/RoomItem/index.js index 87cdffd6e..fd388fafb 100644 --- a/app/presentation/RoomItem/index.js +++ b/app/presentation/RoomItem/index.js @@ -164,7 +164,8 @@ RoomItem.propTypes = { }; RoomItem.defaultProps = { - avatarSize: 48 + avatarSize: 48, + status: 'offline' }; const mapStateToProps = (state, ownProps) => ({