mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
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) {
|
||||
this.setState({membersLoaded: true});
|
||||
}
|
||||
} catch(err) {
|
||||
} catch (err) {
|
||||
const errorMessage = `Fetching room members for ${room.roomId} failed.` +
|
||||
" Room members will appear incomplete.";
|
||||
console.error(errorMessage);
|
||||
|
|
|
@ -107,7 +107,7 @@ module.exports = React.createClass({
|
|||
this.setState({loading: true});
|
||||
try {
|
||||
await room.loadMembersIfNeeded();
|
||||
} catch(ex) {/* already logged in RoomView */}
|
||||
} catch (ex) {/* already logged in RoomView */}
|
||||
if (this._mounted) {
|
||||
this.setState(this._getMembersState(this.roomMembers()));
|
||||
this._listenForMembersChanges();
|
||||
|
|
Loading…
Reference in a new issue