Skip to content

Commit 5577b42

Browse files
authored
fix : Edit handlesubmit.mdx (#1055)
* fix : Edit handlesubmit.mdx * Update handlesubmit.mdx
1 parent 55ebe7c commit 5577b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/useform/handlesubmit.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ This function will receive the form data if form validation is successful.
3939
} catch (e) {
4040
// handle your error
4141
}
42-
}
42+
};
4343

44-
;<form onSubmit={handleSubmit(onSubmit)} />
44+
<form onSubmit={handleSubmit(onSubmit)} />
4545
```
4646

4747
</Admonition>

0 commit comments

Comments
 (0)