From 120f50d5d2c031038552ed11b09c17af46fcf79d Mon Sep 17 00:00:00 2001 From: Gung Wah <41157464+kresnaputra@users.noreply.github.com> Date: Wed, 24 Feb 2021 01:44:01 +0800 Subject: [PATCH] [FIX] RightButtonsContainer re-render check not returning default value (#2899) Co-authored-by: Diego Mello --- app/views/RoomView/Header/RightButtons.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/RoomView/Header/RightButtons.js b/app/views/RoomView/Header/RightButtons.js index 6580351c..42ac86b1 100644 --- a/app/views/RoomView/Header/RightButtons.js +++ b/app/views/RoomView/Header/RightButtons.js @@ -68,6 +68,7 @@ class RightButtonsContainer extends Component { if (!isEqual(nextState.tunreadGroup, tunreadGroup)) { return true; } + return false; } componentWillUnmount() {