Skip to content

Commit 868b8f0

Browse files
authored
docs: Fix isSubmitting FAQ entry
Wrap FAQ entry in `details correctly. Remove use of inline code markers in `summary` as it seems like they are not supported.
1 parent b3190f2 commit 868b8f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/guides/form-submission.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ Disable whatever is triggering submission if `isSubmitting` is `true`.
5757
If `isValidating` is `true` and `isSubmitting` is `true`.
5858

5959
</details>
60-
<summary>Why does `isSubmitting` remain `true` after submission?</summary>
60+
6161
<details>
62+
<summary>Why does isSubmitting remain true after submission?</summary>
6263
If the submission handler returns a promise, make sure it is correctly resolved or rejected when called.
6364
If the submission handler does not return a promise, make sure `setSubmitting(false)` is called at the end of the handler.
6465
</details>

0 commit comments

Comments
 (0)