Removed unnecessary shouldComponentUpdate on FloatingActionButton
• Removed: - unnecessary shouldComponentUpdate on FloatingActionButton
This commit is contained in:
parent
e187f81085
commit
319409b9d1
@ -23,10 +23,6 @@ class FloatingActionButton extends PureComponent {
|
||||
isDesktop: PropTypes.bool,
|
||||
}
|
||||
|
||||
shouldComponentUpdate(nextProps) {
|
||||
return nextProps.message !== this.props.message
|
||||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
intl,
|
||||
|
Loading…
x
Reference in New Issue
Block a user