We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 066af53 commit ebb4380Copy full SHA for ebb4380
content/tutorial/04-advanced-sveltekit/05-advanced-loading/03-await-parent/README.md
@@ -30,7 +30,7 @@ export async function load(+++{ parent }+++) {
30
Finally, in `src/routes/sum/+page.js`, get parent data from both `load` functions:
31
32
```js
33
-/// file: src/sum/+page.js
+/// file: src/routes/sum/+page.js
34
export async function load(+++{ parent }+++) {
35
+++const { a, b } = await parent();+++
36
return { +++c: a + b+++ };
0 commit comments