PR feedback fixes

pull/21833/head
David Baker 2017-03-24 10:45:38 +00:00
parent d5272149f6
commit 5e3b991ec2
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,6 @@ module.exports = React.createClass({
threePids: [], threePids: [],
phase: "UserSettings.LOADING", // LOADING, DISPLAY phase: "UserSettings.LOADING", // LOADING, DISPLAY
email_add_pending: false, email_add_pending: false,
msisdn_add_pending: false,
vectorVersion: null, vectorVersion: null,
rejectingInvites: false, rejectingInvites: false,
}; };

View File

@ -35,6 +35,7 @@ export default WithMatrixClient(React.createClass({
busy: false, busy: false,
phoneCountry: null, phoneCountry: null,
phoneNumber: "", phoneNumber: "",
msisdn_add_pending: false,
}; };
}, },
@ -137,7 +138,7 @@ export default WithMatrixClient(React.createClass({
if (this.state.msisdn_add_pending) { if (this.state.msisdn_add_pending) {
return <Loader />; return <Loader />;
} else if (this.props.matrixClient.isGuest()) { } else if (this.props.matrixClient.isGuest()) {
return null; return <div />;
} }
const CountryDropdown = sdk.getComponent('views.login.CountryDropdown'); const CountryDropdown = sdk.getComponent('views.login.CountryDropdown');