diff --git a/src/components/views/groups/GroupMemberList.js b/src/components/views/groups/GroupMemberList.js index 511af37166..6cbbc968a7 100644 --- a/src/components/views/groups/GroupMemberList.js +++ b/src/components/views/groups/GroupMemberList.js @@ -59,6 +59,7 @@ export default withMatrixClient(React.createClass({ }, _fetchMembers: function() { + if (this._unmounted) return; this.setState({ members: this._groupStore.getGroupMembers(), invitedMembers: this._groupStore.getGroupInvitedMembers(), @@ -105,9 +106,9 @@ export default withMatrixClient(React.createClass({ }); } - memberList = memberList.map((m) => { + memberList = memberList.map((m, index) => { return ( - + ); });