Skip to content

Commit 6c27453

Browse files
authored
"Using Both Loaders" example has wrong type for the client loader arg (#12673)
1 parent 4366dd0 commit 6c27453

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

+1
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@
312312
- valerii15298
313313
- ValiantCat
314314
- vdusart
315+
- VictorElHajj
315316
- vijaypushkin
316317
- vikingviolinist
317318
- vishwast03

docs/start/framework/data-loading.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export async function loader({ params }: Route.LoaderArgs) {
125125

126126
export async function clientLoader({
127127
params,
128-
}: Route.ClientLoader) {
128+
}: Route.ClientLoaderArgs) {
129129
const res = await fetch(`/api/products/${params.pid}`);
130130
return res.json();
131131
}

0 commit comments

Comments
 (0)