diff --git a/src/components/login/PostRegistration.js b/src/components/login/PostRegistration.js index 28e825eeef..20a58f1141 100644 --- a/src/components/login/PostRegistration.js +++ b/src/components/login/PostRegistration.js @@ -44,7 +44,6 @@ module.exports = React.createClass({ this.setState({busy: true}); var self = this; cli.getProfileInfo(cli.credentials.userId).done(function(result) { - console.log("Avatar: %s", MatrixClientPeg.get().mxcUrlToHttp(result.avatar_url)); self.setState({ avatarUrl: MatrixClientPeg.get().mxcUrlToHttp(result.avatar_url), busy: false @@ -57,10 +56,6 @@ module.exports = React.createClass({ }); }, - onProfileContinueClicked: function() { - console.log("onProfileContinueClicked"); - }, - render: function() { var ChangeDisplayName = sdk.getComponent('molecules.ChangeDisplayName'); var ChangeAvatar = sdk.getComponent('molecules.ChangeAvatar'); @@ -76,7 +71,8 @@ module.exports = React.createClass({ Upload an avatar: - + + {this.state.errorString} diff --git a/src/skins/vector/views/pages/MatrixChat.js b/src/skins/vector/views/pages/MatrixChat.js index 9690533f5b..7a583495fe 100644 --- a/src/skins/vector/views/pages/MatrixChat.js +++ b/src/skins/vector/views/pages/MatrixChat.js @@ -118,6 +118,10 @@ module.exports = React.createClass({ onFinishPostRegistration: function() { console.log("onFinishPostRegistration"); + // Don't confuse this with "PageType" which is the middle window to show + this.setState({ + screen: undefined + }); this.showScreen("settings"); },