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] 중복 선언된 alert 제거 #317

Merged
merged 1 commit into from
Aug 23, 2024
Merged

[FE] 중복 선언된 alert 제거 #317

merged 1 commit into from
Aug 23, 2024

Conversation

Largopie
Copy link
Contributor

@Largopie Largopie commented Aug 22, 2024

관련 이슈

작업 내용

로그아웃 시, alert가 두번 출력되는 현상 해결

=> 원인 : user mutation 레이어 분리 시, 해당 alert를 중복해서 선언했습니다. 따라서 mutation에 있는 alert를 유지하고 Header의 alert를 제거했습니다.

특이 사항

  • 현재 alert는 UI로직인데 서버 상태관리 로직인 useMutation의 onSuccess 내부에서 사용되고 있는데, 추후 수정이 필요합니다.

  • 중복 선언된 alert 제거

리뷰 요구사항 (선택)

@Largopie Largopie added 🐈 프론트엔드 프론트엔드 관련 이슈에요 :) 🛠️ 픽스 버그를 해결했어요 :) 🏡 집 가고 싶음 솔직히 집에 가고 싶어요 :( labels Aug 22, 2024
@Largopie Largopie added this to the 4차 데모데이 milestone Aug 22, 2024
@Largopie Largopie self-assigned this Aug 22, 2024
Copy link

github-actions bot commented Aug 22, 2024

Test Results

4 tests   4 ✅  3s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit cafd05a.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@hwinkr hwinkr left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines -26 to -27

alert('로그아웃 되었습니다 :)');
Copy link
Contributor

Choose a reason for hiding this comment

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

good

@hw0603 hw0603 force-pushed the fix/316-logout-alert branch from e8c078e to cafd05a Compare August 23, 2024 01:02
@hw0603 hw0603 merged commit 92e270e into develop Aug 23, 2024
5 checks passed
@hw0603 hw0603 deleted the fix/316-logout-alert branch August 23, 2024 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏡 집 가고 싶음 솔직히 집에 가고 싶어요 :( 🐈 프론트엔드 프론트엔드 관련 이슈에요 :) 🛠️ 픽스 버그를 해결했어요 :)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[FE] 로그아웃 시, alert가 두번 출력돼요 :(
4 participants