mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 23:17:12 +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() {
|
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
|
||||||
|
|||||||
@@ -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} />
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user