We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a86a249 commit 2ac687bCopy full SHA for 2ac687b
web/components/optional-profile-form.tsx
@@ -503,8 +503,8 @@ export const OptionalProfileUserForm = (props: {
503
}
504
}}
505
className={'w-20'}
506
- value={heightFeet !== undefined && heightInches !== undefined
507
- ? Math.round((heightFeet * 12 + heightInches) * 2.54)
+ value={heightFeet !== undefined
+ ? Math.round((heightFeet * 12 + (heightInches ?? 0)) * 2.54)
508
: ''}
509
/>
510
</Col>
0 commit comments