Skip to content

Commit c06ec85

Browse files
authored
Fix incorrect param name in loader example (fixes #13680) (#13681)
1 parent c978b25 commit c06ec85

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
@@ -384,6 +384,7 @@
384384
- williamsdyyz
385385
- willsawyerrrr
386386
- willsmithte
387+
- Willvillegas
387388
- wkovacs64
388389
- woodywoodsta
389390
- xavier-lc

docs/start/data/custom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ let router = createBrowserRouter([
3131
path: "shows/:showId",
3232
Component: Show,
3333
loader: ({ request, params }) =>
34-
fetch(`/api/show/${params.id}.json`, {
34+
fetch(`/api/show/${params.showId}.json`, {
3535
signal: request.signal,
3636
}),
3737
},

0 commit comments

Comments
 (0)