start simplifying form data handling

This commit is contained in:
Thomas Ruoff
2020-07-27 00:42:08 +02:00
parent a099d50097
commit 33900b133d
4 changed files with 50 additions and 56 deletions

View File

@@ -6,7 +6,7 @@ import Form from 'react-bootstrap/Form'
export default function Contact() {
const { state } = useContext(WizardContext)
const { purpose, destination, org } = state
const { purpose, destination, org } = state.formData
return (
<>