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,
|
isDesktop: PropTypes.bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
shouldComponentUpdate(nextProps) {
|
|
||||||
return nextProps.message !== this.props.message
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
intl,
|
intl,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user