Open desiboli opened 1 year ago
Hi @desiboli did you find a solution?
@desiboli , the issue that you faced a temporary problem, I suppose. I tried your code, there is no problem. But I found some refinements in your code.
components={{ ...components }}
// will be
components={ components }
You can wrap the \
const options = { ... }
definition would be inside the Post
function which actually is expected to be async
function.
But, the code above produces a page with no problem, as far as I see.
Hi! π
I'm not sure if I'm doing something wrong but I get this hydration error when I add a code block to my mdx file. Sorry if this doesn't belong here. Asking for help! Thank you π
"next": "13.4.10",
"next-mdx-remote": "^4.4.1",
"Error: Hydration failed because the initial UI does not match what was rendered on the server."
My mdx file:
Note* I do have 3 backticks only, just not sure how I would escape three backticks when pasting my code here π
This is my app/blogs/[slug]/page.tsx file: