Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/MDXRenderer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// compileMDXComponent evaluates code with `new Function`. The CSP has no
// 'unsafe-eval', which is safe only while this runs on the server, so make
// importing it from a Client Component a build error.
import "server-only";
import * as runtime from "react/jsx-runtime";

interface MDXRendererProps {
Expand Down
Loading