mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-13 08:32:54 +08:00
fix(toggleEmail): Use dispatch bound updateUserBackend
This commit is contained in:
@@ -90,7 +90,8 @@ class EmailSettings extends PureComponent {
|
||||
const {
|
||||
email,
|
||||
isEmailVerified,
|
||||
sendQuincyEmail
|
||||
sendQuincyEmail,
|
||||
updateUserBackend
|
||||
} = this.props;
|
||||
if (!email) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user