1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

removed console.log

This commit is contained in:
Fedor Katurov 2019-11-19 16:19:23 +07:00
parent fda42721d9
commit 323376ed90

View file

@ -99,7 +99,6 @@ function* sendLoginRequestSaga({
}
function* refreshUser() {
try {
const {
error,
data: { user }
@ -120,11 +119,6 @@ function* refreshUser() {
}
yield put(authSetUser({ ...user, is_user: true }));
} catch (e) {
console.log("erro", e);
} finally {
console.log("ended");
}
}
function* checkUserSaga({ key }: RehydrateAction) {
@ -328,8 +322,6 @@ function* patchUser({ user }: ReturnType<typeof authPatchUser>) {
return yield put(authSetProfile({ patch_errors: data.errors }));
}
console.log({ me, data });
yield put(authSetUser({ ...me, ...data.user }));
yield put(authSetProfile({ user: { ...me, ...data.user }, tab: "profile" }));
}