Skip to content

Commit

Permalink
Merge branch 'canary' into update-react
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored Oct 16, 2023
2 parents 9beb934 + 26d0bf2 commit 6e7be35
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 } }
}
```

Expand All @@ -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 } }
}
```

Expand Down

0 comments on commit 6e7be35

Please sign in to comment.