💬(demo) transform gender form into sex
To stick to civil information we rename gender field to sex.
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
0ade12251e
commit
7320671589
@@ -27,7 +27,7 @@ export const Create = ({ changePage }: PageProps) => {
|
||||
const character: Character = {
|
||||
id: faker.string.uuid(),
|
||||
name: inputRef.current?.value || "",
|
||||
gender: "male",
|
||||
sex: "male",
|
||||
isGuest: false,
|
||||
...randomDates(),
|
||||
};
|
||||
@@ -52,7 +52,7 @@ export const Create = ({ changePage }: PageProps) => {
|
||||
fullWidth={true}
|
||||
/>
|
||||
<Select
|
||||
label="Gender"
|
||||
label="Sex"
|
||||
fullWidth={true}
|
||||
options={[
|
||||
{
|
||||
@@ -61,9 +61,6 @@ export const Create = ({ changePage }: PageProps) => {
|
||||
{
|
||||
label: "Female",
|
||||
},
|
||||
{
|
||||
label: "Other",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
<DatePicker label="Birth Date" fullWidth={true} />
|
||||
|
||||
Reference in New Issue
Block a user