move org from reason to contact

This commit is contained in:
Thomas Ruoff
2020-10-28 23:36:10 +01:00
parent 84026c2576
commit 02a3702837
2 changed files with 3 additions and 3 deletions

View File

@@ -5,10 +5,11 @@ import Input from '../input'
export default function Contact() {
const { state, onChangeEvent } = useContext(WizardContext)
const { name, email, street, zip, city } = state.formData
const { org, name, email, street, zip, city } = state.formData
return (
<>
<Input label="Verein" name="org" value={org} onChange={onChangeEvent} />
<Input
label="Name"
required

View File

@@ -5,7 +5,7 @@ import Input from '../input'
export default function Contact() {
const { state, onChangeEvent } = useContext(WizardContext)
const { purpose, destination, org } = state.formData
const { purpose, destination } = state.formData
return (
<>
@@ -21,7 +21,6 @@ export default function Contact() {
value={destination}
onChange={onChangeEvent}
/>
<Input label="Verein" name="org" value={org} onChange={onChangeEvent} />
</>
)
}