web.client: Settings: revert (6ab8348aad
)
This commit is contained in:
parent
7b4c1f6154
commit
f2d5bfdc82
@ -109,13 +109,13 @@ class ArticleBodyContent extends React.Component {
|
||||
history.push(newPath);
|
||||
}
|
||||
|
||||
// shouldComponentUpdate(nextProps, nextState) {
|
||||
// if (!utils.array.isArrayEqual(nextState.selectedKeys, this.state.selectedKeys)) {
|
||||
// return true;
|
||||
// }
|
||||
shouldComponentUpdate(nextProps, nextState) {
|
||||
if (!utils.array.isArrayEqual(nextState.selectedKeys, this.state.selectedKeys)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// return false;
|
||||
// }
|
||||
return false;
|
||||
}
|
||||
|
||||
onSelect = value => {
|
||||
const { selectedKeys } = this.state;
|
||||
|
Loading…
Reference in New Issue
Block a user