appStore was a stupid idea...

This commit is contained in:
Thomas Ruoff
2020-08-22 00:04:47 +02:00
parent 06f11e4e6d
commit 826ea43363
6 changed files with 74 additions and 35 deletions

View File

@@ -1,9 +1,9 @@
import React, { useContext } from 'react'
import { AppContext } from '../context/appStore'
import { WizardContext } from '../context/wizardStore'
import Required from './required'
export default function Contact() {
const { state, onChangeEvent } = useContext(AppContext)
const { state, onChangeEvent } = useContext(WizardContext)
const { formDataChanged } = state
const { purpose, destination, org } = state.formData