[fix] ClubTag 컴포넌트의 중복 key 문제 해결#379
Conversation
- ClubCard와 ClubProfile 컴포넌트에서 빈 태그 필터링 로직 추가 - tag.trim()을 사용하여 빈 문자열 및 공백만 있는 태그 제거 - 각 태그에 고유한 key 값 부여 (division, category, tag 구분)
Walkthrough
Changes
Sequence Diagram(s)sequenceDiagram
participant ClubProfile
participant ClubCard
participant ClubTag
ClubProfile->>ClubTag: division, category 태그 렌더링 (고유 key)
ClubProfile->>ClubTag: tags 배열 필터링 후 렌더링 (고유 key)
ClubCard->>ClubTag: division, category 태그 렌더링 (고유 key)
ClubCard->>ClubTag: tags 배열 필터링 후 렌더링 (고유 key)
Assessment against linked issues
Possibly related issues
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ Deploy Preview for moadong ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |

#️⃣연관된 이슈
📝작업 내용
문제 상황
해결 방법
중점적으로 리뷰받고 싶은 부분(선택)
논의하고 싶은 부분(선택)
빈 태그밖에 없는 카드는 나오지 않습니다. 어떻게 처리하면 좋을까요?
🫡 참고사항
Summary by CodeRabbit