Conversation
WalkthroughCard 컴포넌트에 선택적 불리언 prop Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changes(해당 없음) Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the ✨ Finishing Touches
🧪 Generate unit tests
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. Comment |
|
MATEBALL-STORYBOOK |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
src/pages/match/create/components/single-match-card-section.tsx (1)
40-40: className 중복 전달 제거 제안Line 35의
cardProps.className가 이미'w-full'로 설정되어 있어 Line 40의className="w/full"는 스프레드에 의해 덮입니다. 혼동을 줄이기 위해 JSX의className를 제거하는 편이 깔끔합니다.- <Card isCreated className="w-full" {...cardProps} /> + <Card isCreated {...cardProps} />src/pages/match/create/components/group-match-card-section.tsx (1)
38-38: className 이중 지정 정리Line 33에서
cardProps.className가 이미'w-full'이므로, Line 38의className는 스프레드에 의해 무시됩니다. 한 곳으로 통일하세요.- <Card isCreated className="w-full" {...cardProps} /> + <Card isCreated {...cardProps} />
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/pages/match/create/components/group-match-card-section.tsx(1 hunks)src/pages/match/create/components/single-match-card-section.tsx(1 hunks)
🔇 Additional comments (2)
src/pages/match/create/components/single-match-card-section.tsx (1)
40-40: isCreated 전달 적절합니다생성 화면에서 생성자 표시 목적에 부합하며, Card에 새 prop이 노출되었다는 전제에서 사용 일관성도 좋습니다.
src/pages/match/create/components/group-match-card-section.tsx (1)
38-38: isCreated 추가 사용 LGTM그룹 생성 섹션에서도 생성자 표시가 일관되게 적용되었습니다.
#️⃣ Related Issue
Closes #334
☀️ New-insight
이전에 MatchCurrentCard에 추가했던 isCreated 플래그를 실제 호출부(그룹/1:1 생성 완료 섹션)에서 활용하도록 반영했습니다.
이제 생성 완료 화면의 카드들은 isCreated에 따라 생성자 왕관을 표시합니다!!
💎 PR Point
group-match-card-section, single-match-card-section의 카드 호출부에 isCreated를 명시적으로 추가하였습니다.
📸 Screenshot
Summary by CodeRabbit