Skip to content

Commit a6353f8

Browse files
authored
docs: type of action arguments in Handling different request methods example (#12491)
* docs: use ActionArgs type for action in example * CLA
1 parent 9819f96 commit a6353f8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
- 0xEddie
2+
- aarbi
23
- abdallah-nour
34
- abeadam
45
- abhi-kr-2100

docs/how-to/resource-routes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function loader(_: Route.LoaderArgs) {
5454
return Response.json({ message: "I handle GET" });
5555
}
5656

57-
export function action(_: Route.LoaderArgs) {
57+
export function action(_: Route.ActionArgs) {
5858
return Response.json({
5959
message: "I handle everything else",
6060
});

0 commit comments

Comments
 (0)