Skip to content

Commit

Permalink
🚨(front) fix ts compiling in MdxRenderer
Browse files Browse the repository at this point in the history
We have to change the order for importing jsx-runtime to avoid to
override parameter set before expading jsx-runtime
  • Loading branch information
lunika authored and kernicPanel committed Sep 26, 2024
1 parent 2d6e4a2 commit a41b92e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ export const MdxRenderer = ({
}

evaluate(inputText, {
...runtime,
jsx: undefined,
jsxs: undefined,
Fragment: undefined,
...runtime,
format,
remarkPlugins,
rehypePlugins,
Expand Down

0 comments on commit a41b92e

Please sign in to comment.