mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 06:57:12 +01:00
start simplifying form data handling
This commit is contained in:
@@ -7,7 +7,7 @@ import Col from 'react-bootstrap/Col'
|
||||
export default function Contact() {
|
||||
const { state } = useContext(WizardContext)
|
||||
|
||||
const { name, email, street, zip, city } = state
|
||||
const { name, email, street, zip, city } = state.formData
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user