Comment out shouldComponentUpdate (temporary)

This commit is contained in:
Vladislav Makhov 2020-12-09 11:30:21 +03:00
parent 7f2577b3fa
commit 509ce245ac

View File

@ -76,9 +76,9 @@ class SectionBody extends React.Component {
this.scrollRef = React.createRef();
}
shouldComponentUpdate(nextProps) {
return !isEqual(this.props, nextProps);
}
// shouldComponentUpdate(nextProps) {
// return !isEqual(this.props, nextProps);
// }
componentDidMount() {
if (!this.props.autoFocus) return;