forked from abner/for-legacy-web
Fix issues introduced in new Typescript version.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user