Skip to content

Commit b81e912

Browse files
committed
Updated SvelteKit blog post with SvelteKit variable changes
1 parent 566c1c6 commit b81e912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/posts/blog-development-sveltekit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ On the `routes/[slug]/index.svelte` file, I can now import the posts and look fo
195195
posts.push(p);
196196
}
197197
198-
export function load({ page }) {
199-
const { slug } = page.params;
198+
export function load({ params }) {
199+
const { slug } = params;
200200
201201
// Find the post with the slug
202202
const filteredPost = posts.find((p) => {

0 commit comments

Comments
 (0)