From d9b8b0f988a111bebe2c9e212d52e41edc9bb0de Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 21 Feb 2019 10:51:09 +0100 Subject: [PATCH] fix indentation --- src/components/structures/MatrixChat.js | 9 +++------ src/components/views/rooms/MemberInfo.js | 6 +++--- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index ef0cc33fdc..d6b074ef47 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1573,12 +1573,9 @@ export default React.createClass({ this._chatCreateOrReuse(userId); return; } - - // get profile info here somehow - - this.notifyNewScreen('user/' + userId); - this.setState({currentUserId: userId}); - this._setPage(PageTypes.UserView); + this.notifyNewScreen('user/' + userId); + this.setState({currentUserId: userId}); + this._setPage(PageTypes.UserView); }); } else if (screen.indexOf('group/') == 0) { const groupId = screen.substring(6); diff --git a/src/components/views/rooms/MemberInfo.js b/src/components/views/rooms/MemberInfo.js index b4af5398f6..d7726c8fe8 100644 --- a/src/components/views/rooms/MemberInfo.js +++ b/src/components/views/rooms/MemberInfo.js @@ -983,9 +983,9 @@ module.exports = withMatrixClient(React.createClass({ let backButton; if (this.props.member.roomId) { backButton = (); + onClick={this.onCancel} + title={_t('Close')} + />); } return (