Skip to content

Commit 34b878c

Browse files
lunikakernicPanel
authored andcommitted
🚨(front) fix ts compiling in MdxRenderer
As react type now adds jsx-runtime Fragment, jsx, and jsxs attributes, we don't need to add them manually.
1 parent f614183 commit 34b878c

File tree

1 file changed

+0
-3
lines changed
  • src/frontend/packages/lib_markdown/src/components/MdxRenderer

1 file changed

+0
-3
lines changed

src/frontend/packages/lib_markdown/src/components/MdxRenderer/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ export const MdxRenderer = ({
112112
}
113113

114114
evaluate(inputText, {
115-
jsx: undefined,
116-
jsxs: undefined,
117-
Fragment: undefined,
118115
...runtime,
119116
format,
120117
remarkPlugins,

0 commit comments

Comments
 (0)