fix lint
This commit is contained in:
parent
841aa4b800
commit
e8b4770940
2 changed files with 2 additions and 2 deletions
|
@ -598,7 +598,7 @@ module.exports = React.createClass({
|
||||||
if (!this.unmounted) {
|
if (!this.unmounted) {
|
||||||
this.setState({membersLoaded: true});
|
this.setState({membersLoaded: true});
|
||||||
}
|
}
|
||||||
} catch(err) {
|
} catch (err) {
|
||||||
const errorMessage = `Fetching room members for ${room.roomId} failed.` +
|
const errorMessage = `Fetching room members for ${room.roomId} failed.` +
|
||||||
" Room members will appear incomplete.";
|
" Room members will appear incomplete.";
|
||||||
console.error(errorMessage);
|
console.error(errorMessage);
|
||||||
|
|
|
@ -107,7 +107,7 @@ module.exports = React.createClass({
|
||||||
this.setState({loading: true});
|
this.setState({loading: true});
|
||||||
try {
|
try {
|
||||||
await room.loadMembersIfNeeded();
|
await room.loadMembersIfNeeded();
|
||||||
} catch(ex) {/* already logged in RoomView */}
|
} catch (ex) {/* already logged in RoomView */}
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState(this._getMembersState(this.roomMembers()));
|
this.setState(this._getMembersState(this.roomMembers()));
|
||||||
this._listenForMembersChanges();
|
this._listenForMembersChanges();
|
||||||
|
|
Loading…
Reference in a new issue