Skip to content

Commit dedd322

Browse files
authored
Fix handleSubmit type documentation. (#1072)
1 parent d5ce267 commit dedd322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/useform/handlesubmit.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Ready to send to the server
44
sidebar: apiLinks
55
---
66

7-
## \</> `handleSubmit:` <TypeText>`((data: Object, e?: Event) => Promise<void>, (errors: Object, e?: Event) => void) => Promise<void>`</TypeText>
7+
## \</> `handleSubmit:` <TypeText>`((data: Object, e?: Event) => Promise<void>, (errors: Object, e?: Event) => Promise<void>) => Promise<void>`</TypeText>
88

99
This function will receive the form data if form validation is successful.
1010

0 commit comments

Comments
 (0)