Skip to content

Commit 2ac687b

Browse files
committed
Fix
1 parent a86a249 commit 2ac687b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/components/optional-profile-form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,8 @@ export const OptionalProfileUserForm = (props: {
503503
}
504504
}}
505505
className={'w-20'}
506-
value={heightFeet !== undefined && heightInches !== undefined
507-
? Math.round((heightFeet * 12 + heightInches) * 2.54)
506+
value={heightFeet !== undefined
507+
? Math.round((heightFeet * 12 + (heightInches ?? 0)) * 2.54)
508508
: ''}
509509
/>
510510
</Col>

0 commit comments

Comments
 (0)