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() { export default function Contact() {
const { state, onChangeEvent } = useContext(WizardContext) const { state, onChangeEvent } = useContext(WizardContext)
const { name, email, street, zip, city } = state.formData const { org, name, email, street, zip, city } = state.formData
return ( return (
<> <>
<Input label="Verein" name="org" value={org} onChange={onChangeEvent} />
<Input <Input
label="Name" label="Name"
required required

View File

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