From 5314700ebf537f3ea1101e9a5d1ad98085a92c0c Mon Sep 17 00:00:00 2001 From: dan Date: Wed, 7 Sep 2022 19:11:23 +0100 Subject: [PATCH] Remove outdated comment --- beta/src/pages/[[...markdownPath]].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/pages/[[...markdownPath]].js b/beta/src/pages/[[...markdownPath]].js index ef965d84..e1dff3fe 100644 --- a/beta/src/pages/[[...markdownPath]].js +++ b/beta/src/pages/[[...markdownPath]].js @@ -68,7 +68,7 @@ export async function getStaticProps(context) { const rootDir = process.cwd() + '/src/content/'; const mdxComponentNames = Object.keys(MDXComponents); - // Read MDX from the file. Parse Frontmatter data out of it. + // Read MDX from the file. let path = (context.params.markdownPath || []).join('/') || 'index'; let mdxWithFrontmatter; try {