diff --git a/docs/docs/tutorial/part-7/index.mdx b/docs/docs/tutorial/part-7/index.mdx index cc2398e9e8841..87ddae605c5b8 100644 --- a/docs/docs/tutorial/part-7/index.mdx +++ b/docs/docs/tutorial/part-7/index.mdx @@ -354,8 +354,8 @@ Once you have your GraphQL query set up, you can add it to your blog post page t // highlight-start export const query = graphql` - query($slug: String) { - mdx(slug: {eq: $slug}) { + query($id: String) { + mdx(id: {eq: $id}) { body frontmatter { title