Use forceUpdateGrid() in UserList
This commit is contained in:
parent
e19280c2c7
commit
9d5707dd3c
File diff suppressed because one or more lines are too long
@ -8,7 +8,7 @@ const listStyle = { padding: '10px 0', boxSizing: 'content-box' };
|
|||||||
export default class UserList extends PureComponent {
|
export default class UserList extends PureComponent {
|
||||||
componentWillUpdate(nextProps) {
|
componentWillUpdate(nextProps) {
|
||||||
if (nextProps.users.size === this.props.users.size) {
|
if (nextProps.users.size === this.props.users.size) {
|
||||||
this.list.forceUpdate();
|
this.list.forceUpdateGrid();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user