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] 참여가 여러번 되는 문제 해결(#805) #806

Merged
merged 3 commits into from
Dec 18, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 10, 2024

📓 스토리북 링크

바로가기

📌 관련 이슈

✨ PR 세부 내용

느린 와이파이 환경에서 참여버튼을 여러번 클릭한 경우 여러번 서버에 post 요청이 보내져 중복참여되는 경우가 있었는데 tanstack query의 isPending 상태값을 이용하여 중복된 요청을 보내지 못하도록 해결

Screen.Recording.2024-12-10.at.6.08.56.PM.mov

@github-actions github-actions bot added the FE 프론트 개발 관련 작업 label Dec 10, 2024
@github-actions github-actions bot requested review from 00kang and chlwlstlf December 10, 2024 09:40
Copy link
Contributor

@chlwlstlf chlwlstlf left a comment

Choose a reason for hiding this comment

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

다르!! 변경 사항 확인했습니다😊 (방 제목이랑 키워드 잘못 본 줄 ^^)

변경 전

KakaoTalk_20241213_163204842.mp4

변경 후

-CoReA.Code.Review.Area.-.Chrome.2024-12-13.16-40-01.mp4

disabled만 되니까 3G 환경에서 1초 동안은 방도 안 들어가지고 버튼도 막혀서 흐름이 어색한 것 같아요..!
Button 속성 중에 isLoading이라는 속성이 있는데 이거도 같이 사용하는 거 어떤가요~???

{isLoading ? <S.LoadingSpinner src={spinner} /> : children}

Copy link
Member

@00kang 00kang left a comment

Choose a reason for hiding this comment

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

✅확인 완료

@pp449
Copy link
Contributor

pp449 commented Dec 13, 2024

@chlwlstlf

disabled 상태인 경우 추가적으로 스피너가 보이도록 기능을 추가해줬어요!

@chlwlstlf chlwlstlf merged commit 7880270 into develop Dec 18, 2024
2 checks passed
@chlwlstlf chlwlstlf deleted the fix/#805 branch December 18, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FE 프론트 개발 관련 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FE] 참여가 여러번 되는 문제 해결
3 participants