Skip to content

Commit 4afebdc

Browse files
authored
docs: correct name of updated from $app/stores (sveltejs#450)
There was a typo in the tutorial for the `updated` store from `$app/stores`. See https://kit.svelte.dev/docs/modules#$app-stores-updated
1 parent dadb11c commit 4afebdc

File tree

1 file changed

+2
-2
lines changed
  • content/tutorial/03-sveltekit/08-stores/01-page-store

1 file changed

+2
-2
lines changed

content/tutorial/03-sveltekit/08-stores/01-page-store/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: page
44

55
As we learned [earlier](writable-stores), Svelte stores are a place to put data that doesn't belong to an individual component.
66

7-
SvelteKit makes three readonly stores available via the `$app/stores` module — `page`, `navigating` and `updating`. The one you'll use most often is [`page`](https://kit.svelte.dev/docs/types#public-types-page), which provides information about the current page:
7+
SvelteKit makes three readonly stores available via the `$app/stores` module — `page`, `navigating` and `updated`. The one you'll use most often is [`page`](https://kit.svelte.dev/docs/types#public-types-page), which provides information about the current page:
88

99
* `url` — the [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL) of the current page
1010
* `params` — the current page's [parameters](params)
@@ -33,4 +33,4 @@ As with any other store, you can reference its value in a component by prefixing
3333
</nav>
3434
3535
<slot />
36-
```
36+
```

0 commit comments

Comments
 (0)