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

[FE] 일반로그인시에 리액트쿼리로 invalidate하고 에러메시지 정상표시안되던 현상을 해결한다. #916

Merged
merged 7 commits into from
Oct 24, 2024

Conversation

skiende74
Copy link
Contributor

@skiende74 skiende74 commented Oct 24, 2024

❗ Issue

✨ 구현한 기능

일반로그인시에 리액트쿼리를 사용하고 캐시invalidate.

원래 정의했던에러문구가아니라 서버에러메시지가 바로표시 되고있었네요.
api도 fetcher 사용하게끔해서 리액트쿼리로 감싸주니까 상수화한에러문구로나옵니다.

예시사진 : 둘다 동일하게 비번틀렸을때 사진

적용전 (백엔드 메시지가 노출됨)

적용후 (상수화한 에러문구로 나옴)

📢 논의하고 싶은 내용

🎸 기타

Copy link

Copy link

@skiende74 skiende74 self-assigned this Oct 24, 2024
@skiende74 skiende74 added this to the 마일스톤 8주차 milestone Oct 24, 2024
@skiende74 skiende74 merged commit 119c4ff into dev-fe Oct 24, 2024
3 checks passed
@skiende74 skiende74 deleted the fix/908-invalidate-on-normal-login branch October 24, 2024 17:40
@skiende74
Copy link
Contributor Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant