Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix : 로그아웃 에러 처리 #886

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

jasper200207
Copy link
Collaborator

연관 이슈

작업 요약

  • 로그아웃시 api 결과와 무관하게 localstorage 비우기

리뷰 요구사항

  • 리뷰 예상 시간 : 1분

- 항상 local 데이터 지우도록 변경
- #881
signOut();
},
onError: (error) => {
const errorStatusCode = (error as AxiosError).response?.status;
if (errorStatusCode === 401) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저는 이 부분을 수정하여 에러를 해결할 줄 알았는데ㅋㅋ
완전 화끈하게 다 날려버리셨네요ㅋㅋㅋ
좋습니당~!!!

@jasper200207 jasper200207 merged commit 0fa83d0 into develop Mar 10, 2024
1 check passed
@jasper200207 jasper200207 deleted the feature/로그아웃_버그_픽스_#881 branch March 10, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 버그
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[BUG] 토큰 만료될 시 로그아웃이 안되는 버그
2 participants