Use forceUpdateGrid() in UserList

This commit is contained in:
Ken-Håvard Lieng 2017-03-30 04:12:30 +02:00
parent e19280c2c7
commit 9d5707dd3c
2 changed files with 20 additions and 20 deletions

File diff suppressed because one or more lines are too long

View File

@ -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();
} }
} }