From 2126c0412979a62b61ecef08709312ec0f80e711 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 30 Dec 2021 04:30:21 -0500 Subject: [PATCH] Update documentation/migrating/04-pages.md Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- documentation/migrating/04-pages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/migrating/04-pages.md b/documentation/migrating/04-pages.md index ef27a63afbab..f06db769e0b9 100644 --- a/documentation/migrating/04-pages.md +++ b/documentation/migrating/04-pages.md @@ -35,7 +35,7 @@ const { preloading, page, session } = stores(); The `page` and `session` stores still exist; `preloading` has been replaced with a `navigating` store that contains `from` and `to` properties. `page` now has `url` and `params` properties, but no `path` or `query`. -You access them differently in SvelteKit. `stores` is now `getStores`, but in most cases it is unnecessary since you can import `navigating`, `route` and `session` directly from [`$app/stores`](/docs#modules-$app-stores). +You access them differently in SvelteKit. `stores` is now `getStores`, but in most cases it is unnecessary since you can import `navigating`, `page` and `session` directly from [`$app/stores`](/docs#modules-$app-stores). ### Routing