Use forceUpdateGrid() in UserList
This commit is contained in:
parent
e19280c2c7
commit
9d5707dd3c
2 changed files with 20 additions and 20 deletions
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 {
|
||||
componentWillUpdate(nextProps) {
|
||||
if (nextProps.users.size === this.props.users.size) {
|
||||
this.list.forceUpdate();
|
||||
this.list.forceUpdateGrid();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue