Skip to content

Commit 68e5b90

Browse files
chore(docs): Update query var in part-7 tutorial (#33559)
1 parent a8cab55 commit 68e5b90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/tutorial/part-7/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ Once you have your GraphQL query set up, you can add it to your blog post page t
354354

355355
// highlight-start
356356
export const query = graphql`
357-
query($slug: String) {
358-
mdx(slug: {eq: $slug}) {
357+
query($id: String) {
358+
mdx(id: {eq: $id}) {
359359
body
360360
frontmatter {
361361
title

0 commit comments

Comments
 (0)