Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich Harris committed Apr 10, 2023
1 parent f31f59e commit c6b0844
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function load({ params }) {

> If `comments` is a top-level property of the returned object, SvelteKit will automatically await it. For that reason, we must nest it inside an object. Here, we've called that object `promises`, but the name is not important.
Inside `src/routes/blog/[slug]/+page.svelte` we can now use an [`{#await ...}](await-blocks) block to render placeholder UI while the data loads:
Inside `src/routes/blog/[slug]/+page.svelte` we can now use an [`{#await ...}`](await-blocks) block to render placeholder UI while the data loads:

```svelte
/// file: src/routes/blog/[slug]/+page.svelte
Expand Down

0 comments on commit c6b0844

Please sign in to comment.