From 319409b9d175fb476ec6a682fc24bdd6412d7044 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 15 May 2020 23:22:17 -0400 Subject: [PATCH] Removed unnecessary shouldComponentUpdate on FloatingActionButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Removed: - unnecessary shouldComponentUpdate on FloatingActionButton --- app/javascript/gabsocial/components/floating_action_button.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/javascript/gabsocial/components/floating_action_button.js b/app/javascript/gabsocial/components/floating_action_button.js index c92318a7..d80e723b 100644 --- a/app/javascript/gabsocial/components/floating_action_button.js +++ b/app/javascript/gabsocial/components/floating_action_button.js @@ -23,10 +23,6 @@ class FloatingActionButton extends PureComponent { isDesktop: PropTypes.bool, } - shouldComponentUpdate(nextProps) { - return nextProps.message !== this.props.message - } - render() { const { intl,