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:
parent
6dcb21e9e4
commit
0524649944
1 changed files with 0 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue