Can't get values of double-nested objects #2082
-
I'm using gray-matter/frontMatter and remark-mdx to read values of an .mdx file in a nextJS project: .mdx file:
[slug].tsx:
The file can read everything except for the double nested values of Signs and throws an 'undefined' error. How do I map out the double-nested values? I've tried everything. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
All The Next team may be able to offer more pointers as to what's going on. |
Beta Was this translation helpful? Give feedback.
All
mdx
does is goes from Markdown+JSX to plain JavaScript.You are working with an additional datastructure,
details
, which is generated by different tool, likely Next.The Next team may be able to offer more pointers as to what's going on.
https://github.com/vercel/next.js/discussions