mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
fix most type errors
still have a few things outstanding
This commit is contained in:
committed by
Thomas Ruoff
parent
c3d8c6f3e0
commit
90ac05a907
@@ -1,9 +1,9 @@
|
||||
import React, { useContext } from 'react'
|
||||
import * as React from 'react'
|
||||
import { useContext } from 'react'
|
||||
import { WizardContext } from './context/wizardStore'
|
||||
import Required from './required'
|
||||
|
||||
export default function Contact() {
|
||||
// @ts-expect-error ts-migrate(2339) FIXME: Property 'state' does not exist on type '{}'.
|
||||
const { state, onChangeEvent } = useContext(WizardContext)
|
||||
|
||||
const { name, email, street, zip, city } = state.formData
|
||||
|
||||
Reference in New Issue
Block a user