Skip to content

Commit 6e7be35

Browse files
authored
Merge branch 'canary' into update-react
2 parents 9beb934 + 26d0bf2 commit 6e7be35

File tree

1 file changed

+2
-2
lines changed
  • docs/02-app/01-building-your-application/07-configuring

1 file changed

+2
-2
lines changed

docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export async function getStaticProps() {
185185
const res = await fetch('https:...')
186186
const mdxText = await res.text()
187187
const mdxSource = await serialize(mdxText)
188-
return { props: { source: mdxSource } }
188+
return { props: { mdxSource } }
189189
}
190190
```
191191

@@ -202,7 +202,7 @@ export async function getStaticProps() {
202202
const res = await fetch('https:...')
203203
const mdxText = await res.text()
204204
const mdxSource = await serialize(mdxText)
205-
return { props: { source: mdxSource } }
205+
return { props: { mdxSource } }
206206
}
207207
```
208208

0 commit comments

Comments
 (0)