authRef .currentUser .updateEmail(newEmail) .then(() => { this.setState({ success: true, working: false }); }, error => { this.setState({ error: error.message, working: false }); });
authRef .currentUser .updateEmail(newEmail) .then(() => { this.setState({ success: true, working: false }); }, error => { this.setState({ error: error.message, working: false }); });