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: [],
phase: "UserSettings.LOADING", // LOADING, DISPLAY
email_add_pending: false,
msisdn_add_pending: false,
vectorVersion: null,
rejectingInvites: false,
};

View File

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