This commit is contained in:
jooho
2021-10-26 09:42:40 +09:00
parent fd50dd78a0
commit 80e2e4e8b3
14 changed files with 256 additions and 40 deletions

View File

@@ -150,9 +150,8 @@ const UserInfo = () => {
token: response.response.access_token,
},
})
setErrorState(null)
} else {
setErrorState(t('err.user.login.social'))
setErrorState({ message: t('err.user.login.social') })
}
}
@@ -173,9 +172,8 @@ const UserInfo = () => {
token: response.accessToken,
},
})
setErrorState(null)
} else {
setErrorState(t('err.user.login.social'))
setErrorState({ message: t('err.user.login.social') })
}
}
@@ -193,9 +191,8 @@ const UserInfo = () => {
token: response.tokenId,
},
})
setErrorState(null)
} else {
setErrorState(t('err.user.login.social'))
setErrorState({ message: t('err.user.login.social') })
}
}