mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
move org from reason to contact
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user