Update apps/www/pages/blog/[slug].tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
This commit is contained in:
Daniel CruzandGreg Richardson authored and GitHub committed 2023-07-11 09:04:08 -06:00
1 parent bb579cc3c9
commit 9f4a84fa79
1 file changed
+1 -1
+1 -1
View File
@@ -107,7 +107,7 @@ export const getStaticProps: GetStaticProps<BlogPostPageProps, Params> = async (
nextPost: currentIndex === allPosts.length ? null : nextPost ? nextPost : null,
relatedPosts,
blog: {
slug: `${params?.slug}`,
slug: `${params.slug}`,
source: content,
...data,
content: mdxSource,