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

fixed calculation of empty fields on frontend

This commit is contained in:
Fedor Katurov 2020-08-26 16:35:24 +07:00
parent de7818c235
commit c9d84a4947
3 changed files with 17 additions and 15 deletions

View file

@ -508,14 +508,14 @@ function* authRegisterSocial({ username, password }: ReturnType<typeof authSendR
selectAuthRegisterSocial
);
const {
data,
error,
}: Unwrap<ReturnType<typeof apiLoginWithSocial>> = yield call(apiLoginWithSocial, {
token,
username,
password,
});
const { data, error }: Unwrap<ReturnType<typeof apiLoginWithSocial>> = yield call(
apiLoginWithSocial,
{
token,
username,
password,
}
);
if (data?.errors) {
yield put(authSetRegisterSocialErrors(data.errors));