You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
afaict, this is only the case for an mdx file without any content. While the first example here produces weird output, the second works just fine (codesandbox).
constt=mdx.sync(`export default ({ children }) => ( <Layout> {children} </Layout>)`);
The following MDX:
transpiles into broken JSX:
because the default export is being added using line-by-line interpolation.
The text was updated successfully, but these errors were encountered: