From cedde9bcb1beaf58fb99a0b733728f5e7381dd47 Mon Sep 17 00:00:00 2001 From: Dmitriy Glazkov Date: Mon, 16 Oct 2023 16:24:57 +0400 Subject: [PATCH] Update 05-mdx.mdx Fix key of the prop --- .../01-building-your-application/07-configuring/05-mdx.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx b/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx index 6b16ba73d3514..f758c7c7912a3 100644 --- a/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx +++ b/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx @@ -185,7 +185,7 @@ export async function getStaticProps() { const res = await fetch('https:...') const mdxText = await res.text() const mdxSource = await serialize(mdxText) - return { props: { source: mdxSource } } + return { props: { mdxSource } } } ``` @@ -202,7 +202,7 @@ export async function getStaticProps() { const res = await fetch('https:...') const mdxText = await res.text() const mdxSource = await serialize(mdxText) - return { props: { source: mdxSource } } + return { props: { mdxSource } } } ```