Skip to content

Commit b3190f2

Browse files
authored
docs: Adjust language for submission cleanup
1 parent 07d8cc5 commit b3190f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/form-submission.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ If `isValidating` is `true` and `isSubmitting` is `true`.
5959
</details>
6060
<summary>Why does `isSubmitting` remain `true` after submission?</summary>
6161
<details>
62-
If the submission handler is returning a promise, make sure the promise has resolved or rejected.
63-
If the submission handler is not returning a promise, make sure `setSubmitting(false)` is called at the end of the handler.
62+
If the submission handler returns a promise, make sure it is correctly resolved or rejected when called.
63+
If the submission handler does not return a promise, make sure `setSubmitting(false)` is called at the end of the handler.
6464
</details>

0 commit comments

Comments
 (0)