fix most type errors

still have a few things outstanding
This commit is contained in:
Thomas Ruoff
2020-08-28 00:29:20 +02:00
committed by Thomas Ruoff
parent c3d8c6f3e0
commit 90ac05a907
16 changed files with 279 additions and 96 deletions

View File

@@ -1,4 +1,5 @@
import React, { useContext } from 'react'
import * as React from 'react'
import { useContext } from 'react'
import Link from 'next/link'
@@ -9,7 +10,6 @@ import Reason from './reason'
import Contact from './contact'
function WizardInternal() {
// @ts-expect-error ts-migrate(2339) FIXME: Property 'onSubmit' does not exist on type '{}'.
const { onSubmit, state, forgetData, storeData } = useContext(WizardContext)
const {
postData,