Removed unnecessary shouldComponentUpdate on FloatingActionButton

• Removed:
- unnecessary shouldComponentUpdate on FloatingActionButton
This commit is contained in:
mgabdev 2020-05-15 23:22:17 -04:00
parent e187f81085
commit 319409b9d1

View File

@ -23,10 +23,6 @@ class FloatingActionButton extends PureComponent {
isDesktop: PropTypes.bool, isDesktop: PropTypes.bool,
} }
shouldComponentUpdate(nextProps) {
return nextProps.message !== this.props.message
}
render() { render() {
const { const {
intl, intl,