chore(tidy) Tidy up
This commit is contained in:
@ -8,7 +8,6 @@ import { putUserUpdateEmail } from '../../utils/ajax';
|
|||||||
import reallyWeirdErrorMessage from '../../utils/reallyWeirdErrorMessage';
|
import reallyWeirdErrorMessage from '../../utils/reallyWeirdErrorMessage';
|
||||||
|
|
||||||
function* updateMyEmailSaga({ payload: email = '' }) {
|
function* updateMyEmailSaga({ payload: email = '' }) {
|
||||||
console.log('saga', email);
|
|
||||||
if (!email || !isEmail(email)) {
|
if (!email || !isEmail(email)) {
|
||||||
yield put(createFlashMessage(reallyWeirdErrorMessage));
|
yield put(createFlashMessage(reallyWeirdErrorMessage));
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user