From 8da50c2d7345e69bc45b9da0d33d5ea3d3d686e8 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Wed, 17 Jun 2020 14:39:49 -0300 Subject: [PATCH] [FIX] Remove duplicated sCU condition (#2194) --- app/views/RoomView/Header/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/views/RoomView/Header/index.js b/app/views/RoomView/Header/index.js index 8d208b24b..e94b58ca2 100644 --- a/app/views/RoomView/Header/index.js +++ b/app/views/RoomView/Header/index.js @@ -65,12 +65,6 @@ class RoomHeaderView extends Component { if (nextProps.goRoomActionsView !== goRoomActionsView) { return true; } - if (nextProps.width !== width) { - return true; - } - if (nextProps.height !== height) { - return true; - } return false; }