diff --git a/web/components/optional-profile-form.tsx b/web/components/optional-profile-form.tsx index 6d864f00..2aad2b69 100644 --- a/web/components/optional-profile-form.tsx +++ b/web/components/optional-profile-form.tsx @@ -459,13 +459,12 @@ export const OptionalProfileUserForm = (props: { setHeightFeet(undefined) } else { setHeightFeet(Number(e.target.value)) - const heightInInches = - Number(e.target.value) * 12 + (heightInches ?? 0) + const heightInInches = Number(e.target.value) * 12 + (heightInches ?? 0) setProfile('height_in_inches', heightInInches) } }} className={'w-16'} - value={heightFeet ?? ''} + value={heightFeet ? Math.floor(heightFeet) : ''} />