From 527d36a1598759e53d0d37b52c57b8ff86bb5d58 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Fri, 17 Oct 2025 13:50:46 +0200 Subject: [PATCH] Move want kids closer to connection type --- web/components/optional-profile-form.tsx | 84 ++++++++++++------------ 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/web/components/optional-profile-form.tsx b/web/components/optional-profile-form.tsx index 83011a52..2b92b9e3 100644 --- a/web/components/optional-profile-form.tsx +++ b/web/components/optional-profile-form.tsx @@ -283,6 +283,48 @@ export const OptionalLoveUserForm = (props: { /> + {lookingRelationship && <> + + + { + setProfile('pref_romantic_styles', selected) + }} + /> + + + + + { + setProfile('wants_kids_strength', choice) + }} + currentChoice={profile.wants_kids_strength ?? -1} + /> + + + + + { + const value = + e.target.value === '' ? null : Number(e.target.value) + setProfile('has_kids', value) + }} + className={'w-20'} + min={0} + value={profile['has_kids'] ?? undefined} + /> + + } + @@ -516,21 +558,6 @@ export const OptionalLoveUserForm = (props: { /> - - - { - const value = - e.target.value === '' ? null : Number(e.target.value) - setProfile('has_kids', value) - }} - className={'w-20'} - min={0} - value={profile['has_kids'] ?? undefined} - /> - - {/**/} {/* */} {/* */} {/**/} - {lookingRelationship && <> - - - { - setProfile('wants_kids_strength', choice) - }} - currentChoice={profile.wants_kids_strength ?? -1} - /> - - - - - { - setProfile('pref_romantic_styles', selected) - }} - /> - - } -