PR feedback fixes
parent
d5272149f6
commit
5e3b991ec2
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue