Skip to content

Commit

Permalink
Merge pull request #294 from Together-3team/fix/teamNickname
Browse files Browse the repository at this point in the history
[민영] TeamDataCard nickname 버그 수정
  • Loading branch information
minyoung0503 authored Jun 25, 2024
2 parents 34eea5f + 7c07c6d commit 10ce1b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/common/Team/TeamDataCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ export default function TeamDataCard({ data, product, onClick }: any) {
</>
) : (
<>
<p className={styles.creator}>{data.userGroup[0].nickname}</p>
{data.userGroup.length && (
<p className={styles.creator}>
{data.userGroup[0].nickname.length > 0 ? data.userGroup[0].nickname : '익명'}
</p>
)}
<div className={styles.timeAndBtn}>
{/* <div className={styles.timeBox}>
<p className={styles.closed}>참여 마감</p>
Expand Down

0 comments on commit 10ce1b3

Please sign in to comment.