Skip to content

Commit

Permalink
(docs): add missing param in docs for useSubmit (#540)
Browse files Browse the repository at this point in the history
* add missing param in docs for `useSubmit`

* sign CLA
  • Loading branch information
twhitbeck committed Dec 4, 2021
1 parent 5cf9789 commit a7712f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
- skube
- stephanerangaya
- tjefferson08
- twhitbeck
- veritem
- VictorPeralta
- zachdtaylor
Expand Down
2 changes: 1 addition & 1 deletion docs/api/remix.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export async function loader() {
await getUserPreferences();
}

export async function action() {
export async function action({ request }) {
await updatePreferences(await request.formData());
return redirect("/prefs");
}
Expand Down

0 comments on commit a7712f2

Please sign in to comment.