Conversation
hanyoonseok
reviewed
Jul 18, 2022
src/pages/NicknameRegist.tsx
Outdated
| console.log(nickname); | ||
| // 구글 0 , 카카오 1 | ||
| console.log(socialLoginType); | ||
| if (email) { |
Contributor
There was a problem hiding this comment.
카카오 로그이을 했는데 parameter에 email이 없는 경우가 있어서 이 if문에 들어오지 못하는 경우가 있습니다..!
hanyoonseok
approved these changes
Jul 18, 2022
hanyoonseok
requested changes
Jul 18, 2022
Contributor
hanyoonseok
left a comment
There was a problem hiding this comment.
로그인을 했는데도 nav 메뉴에 로그아웃이 아닌 로그인하기가 있습니다!
hanyoonseok
approved these changes
Jul 24, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
서버 구축 후 카카오 로그인 테스트
카카오 로그인 기능 테스트 완료
context api 구축
const user = useUserState(); 사용해서 유저 정보 조회 가능
로컬 스토리지에는 socialType, accesstoken 정보 저장, context-api 에는 유저 정보 저장