Fix error with select initial state

This commit is contained in:
garronej 2023-06-19 03:12:13 +02:00
parent b3f7ba9b1a
commit e97fc985e2

View file

@ -98,11 +98,14 @@ export function UserProfileFormFields(props: UserProfileFormFieldsProps) {
}
value={value}
>
<>
<option value="" selected disabled hidden>Select an option</option>
{options.options.map(option => (
<option key={option} value={option}>
{option}
</option>
))}
</>
</select>
);
}