From c741dd49e39c4bfc518032e0f0f4e5f7ac48de22 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 5 Oct 2022 00:17:09 +0100 Subject: [PATCH] Fix --- beta/src/pages/[[...markdownPath]].js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beta/src/pages/[[...markdownPath]].js b/beta/src/pages/[[...markdownPath]].js index de377e8ad..ccff50d83 100644 --- a/beta/src/pages/[[...markdownPath]].js +++ b/beta/src/pages/[[...markdownPath]].js @@ -55,7 +55,7 @@ function reviveNodeOnClient(key, val) { // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ~~~~ IMPORTANT: BUMP THIS IF YOU CHANGE ANY CODE BELOW ~~~ -const DISK_CACHE_BREAKER = 6; +const DISK_CACHE_BREAKER = 7; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Put MDX output into JSON for client. @@ -112,7 +112,7 @@ export async function getStaticProps(context) { // This will break the prepareMDX() call below. let mdxWithFakeImports = mdx + - '\n' + + '\n\n' + mdxComponentNames .map((key) => 'import ' + key + ' from "' + key + '";\n') .join('\n');