Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Vika-Koval authored and Vika-Koval committed Jun 7, 2024
1 parent 00bd40b commit e705cc3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/components/EditProfilePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,16 @@ function EditProfilePage() {
</FormControl>

<FormControl>
{/* <FormLabel>Preference</FormLabel>
<Select placeholder="Preference" onChange={handlePreferenceChange} value={preference} style={{ color: countryOfLiving ? 'black' : 'grey' }} required> */}
<FormLabel>Preference</FormLabel>
<Select placeholder="Preference" onChange={handlePreferenceChange} value={preference} required>
<Select
placeholder="Preference"
onChange={handlePreferenceChange}
value={preference}
required
style={{ color: preference ? 'black' : 'grey' }}
>
<option value="friends">Friends</option>
<option value="date">Date</option>
<option value="dont-know">Don't know</option>
Expand Down

0 comments on commit e705cc3

Please sign in to comment.