Fix issues introduced in new Typescript version.

This commit is contained in:
Paul
2021-08-30 16:45:23 +01:00
parent de0024988b
commit 6d59c441d6
5 changed files with 163 additions and 155 deletions

View File

@@ -55,7 +55,7 @@ export function OnboardingModal({ onClose, callback }: Props) {
onSubmit={
handleSubmit(
onSubmit,
) as JSX.GenericEventHandler<HTMLFormElement>
) as unknown as JSX.GenericEventHandler<HTMLFormElement>
}>
<div>
<FormField