Update client dependencies

This commit is contained in:
Ken-Håvard Lieng 2017-02-16 03:55:50 +01:00
parent c5062066cb
commit 77b53bfc5e
23 changed files with 1858 additions and 1363 deletions

View file

@ -15,7 +15,7 @@ export default class UserList extends Component {
componentWillUpdate(nextProps) {
if (nextProps.users.size === this.props.users.size) {
this.refs.list.forceUpdate();
this.list.forceUpdate();
}
}
@ -37,7 +37,7 @@ export default class UserList extends Component {
const { users } = this.props;
if (index === 0 || index === users.size + 1) {
return <span style={{ height: '10px' }}></span>;
return <span style={{ height: '10px' }} />;
}
const { tab, openPrivateChat, select } = this.props;
@ -65,7 +65,7 @@ export default class UserList extends Component {
return (
<div className={className} style={style}>
<VirtualScroll
ref="list"
ref={el => { this.list = el; }}
height={this.state.height}
rowsCount={this.props.users.size + 2}
rowHeight={this.getRowHeight}