Skip to content

Commit

Permalink
feat: 참여자 목록 기능 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeml06 committed Jul 24, 2024
1 parent cffc8d1 commit 750653c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion frontend/src/pages/MoimDetailPage/MoimDetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,18 @@ export default function MoimDetailPage() {
<MoimSummary moimInfo={moim} />
<MoimInformation moimInfo={moim} />

{moim.description && <MoimDescription description={moim.description} />}
{moim.description && (
<MoimDescription title={'상세설명'}>
{moim.description}
</MoimDescription>
)}
{moim.participants && (
<MoimDescription title="참여자">
{moim.participants.map((nickName) => {
return <p key={nickName}>{nickName}</p>;
})}
</MoimDescription>
)}

<LabeledInput
title="참가자 이름"
Expand Down

0 comments on commit 750653c

Please sign in to comment.