You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
PR feedback fixes
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user