Skip to content

Commit 046bca4

Browse files
Apply suggestions from code review
Co-authored-by: Mark Dalgleish <[email protected]>
1 parent 97425bc commit 046bca4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/hooks/use-fetcher.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function TaskCheckbox({ task }) {
203203
}
204204
```
205205

206-
If you opt-out of serialization using `encType:null`, then `fetcher.formData` will be `undefined` and your data will be exposed on `fetcher.payload`.
206+
If you opt-out of serialization using `encType: null`, then `fetcher.formData` will be `undefined` and your data will be exposed on `fetcher.payload`.
207207

208208
## `fetcher.formAction`
209209

docs/hooks/use-navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ let isRedirecting =
9191

9292
Any POST, PUT, PATCH, or DELETE navigation that started from a `<Form>` or `useSubmit` will have your form's submission data attached to it. This is primarily useful to build "Optimistic UI" with the `submission.formData` [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) object.
9393

94-
If you opt-out of serialization using `encType:null`, then `navigation.formData` will be `undefined` and your data will be exposed on `navigation.payload`.
94+
If you opt-out of serialization using `encType: null`, then `navigation.formData` will be `undefined` and your data will be exposed on `navigation.payload`.
9595

9696
In the case of a GET form submission, `formData` will be empty and the data will be reflected in `navigation.location.search`.
9797

0 commit comments

Comments
 (0)