Skip to content

Commit

Permalink
feat: hide mbti if no data
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooorobo committed Dec 23, 2024
1 parent da80b49 commit dceeb92
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/entities/profile/ui/ProfileCard/ProfileCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ export const ProfileCard = ({ profile, headerRightSlot }: Props) => {
<tr>
<th scope={'row'}>신장</th>
<td>{profile.height}cm</td>
<th scope={'row'}>MBTI</th>
<td>{profile.mbti}</td>
{profile.mbti && (
<>
<th scope={'row'}>MBTI</th>
<td>{profile.mbti}</td>
</>
)}
</tr>
<tr>
<th scope={'row'}>종교</th>
Expand Down

0 comments on commit dceeb92

Please sign in to comment.