From 64de471b2d4217cee29958feec80dd075f5eb5ae Mon Sep 17 00:00:00 2001 From: Shivangi Sareen <30644881+shivangisareen@users.noreply.github.com> Date: Mon, 18 Oct 2021 08:20:51 +0100 Subject: [PATCH] chore(docs): Update query var in part-7 tutorial (#33559) --- docs/docs/tutorial/part-7/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/tutorial/part-7/index.mdx b/docs/docs/tutorial/part-7/index.mdx index 6594d0c329462..7202f55804098 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