mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
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