Fix issues introduced in new Typescript version.

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

View File

@@ -152,7 +152,7 @@ export function Form({ page, callback }: Props) {
onSubmit={
handleSubmit(
onSubmit,
) as JSX.GenericEventHandler<HTMLFormElement>
) as unknown as JSX.GenericEventHandler<HTMLFormElement>
}>
{page !== "reset" && (
<FormField