Open
Conversation
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.
💎 과제 구현 설명
[프론트]
[백]
🏁 PR 체크리스트
🖼️ Screenshot / Video
🙌 Issue
로그아웃 된 상태에서 like 버튼을 누르면, 혹은 댓글을 작성하려고 하면 axios interceptor에서 accessToken 없을 때의 코드 흐름으로 흐르게 되고, 런타임 에러 처리가 안되는 상황 발생
(Small Post와 Big Post는 로그아웃 상태에서도 볼 수 있게 구현되어 발생하는 시나리오)
=> 평재 형님이 도와주셔서 alert() 추가 및 error Throw 하고, likePost API에서 try-catch 핸들링하는 방식으로 처리