1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

code cleanup

This commit is contained in:
Fedor Katurov 2019-11-25 16:09:01 +07:00
parent 6dcb21e9e4
commit 0524649944

View file

@ -283,8 +283,6 @@ function* requestRestoreCode({ field }: ReturnType<typeof authRequestRestoreCode
yield put(authSetRestore({ error: null, is_loading: true }));
const { error, data } = yield call(apiRequestRestoreCode, { field });
console.log(data);
if (data.error || error) {
return yield put(authSetRestore({ is_loading: false, error: data.error || error }));
}
@ -301,7 +299,6 @@ function* restorePassword({ code }: ReturnType<typeof authRestorePassword>) {
})
);
}
console.log({ code });
}
function* authSaga() {