Skip to content

Commit

Permalink
fix: use boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooorobo committed Jan 12, 2025
1 parent e68f1e2 commit d86f20b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const PersonalInfoGrid = ({
)}
</div>
)}
{(showBlankValue || profile.birthDate || profile.height) && (
{(showBlankValue || profile.birthDate || profile.height > 0) && (
<div className={styles.GridRow}>
{(showBlankValue || profile.birthDate) && (
<div className={styles.Cell}>
Expand All @@ -50,7 +50,7 @@ export const PersonalInfoGrid = ({
</span>
</div>
)}
{(showBlankValue || profile.height) && (
{(showBlankValue || profile.height > 0) && (
<div className={styles.Cell}>
<ProfileCellHeader title={'키(신장)'} onClickEdit={() => onClickEdit?.('PROFILE_PERSONAL_INFO')} />
<span>{profile.height}cm</span>
Expand Down

0 comments on commit d86f20b

Please sign in to comment.