Remove debugging that causes email addresses to load forever

This was left in by accident for https://github.com/matrix-org/matrix-react-sdk/pull/4557
This commit is contained in:
Travis Ralston 2020-05-14 09:43:34 -06:00
parent 81174b5f55
commit 67822f9e69

View file

@ -348,7 +348,7 @@ export default class GeneralUserSettingsTab extends React.Component {
// For newer homeservers with separate 3PID add and bind methods (MSC2290), // For newer homeservers with separate 3PID add and bind methods (MSC2290),
// there is no such concern, so we can always show the HS account 3PIDs. // there is no such concern, so we can always show the HS account 3PIDs.
if (this.state.haveIdServer || this.state.serverSupportsSeparateAddAndBind === true) { if (this.state.haveIdServer || this.state.serverSupportsSeparateAddAndBind === true) {
const emails = this.state.loading3pids || true const emails = this.state.loading3pids
? <Spinner /> ? <Spinner />
: <EmailAddresses : <EmailAddresses
emails={this.state.emails} emails={this.state.emails}