Closed
Conversation
- 신청하기 버튼 활성화 조건을 isLoggedIn이 아닌 isLeader로 판별
Contributor
|
해당 부분은 로그인/비로그인 상태 버튼을 구분해두었고 |
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.
☘️ 작업 내용
study-info-summary.tsx에서isLoggedIn을 조건부로 하여 활성화 여부를 판별하고 있었는데, 콘솔로 확인해보니 스터디를 개설한 사람과 개설하지 않은 사람 입장에서 모두 true로 나오고 있었습니다.const isLeader = leader?.memberId === memberId;인 것 같아서 isLeader로 판별하는 것으로 변경했습니다.스크린샷 (선택)