We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce0870 commit 01cbe4cCopy full SHA for 01cbe4c
packages/next-contentlayer/src/hooks/useMDXComponent.ts
@@ -1,6 +1,5 @@
1
import { getMDXComponent as getMDXComponentOriginal } from '@contentlayer2/core/client'
2
import * as React from 'react'
3
-import * as _jsx_dev_runtime from 'react/jsx-dev-runtime'
4
import * as _jsx_runtime from 'react/jsx-runtime'
5
import * as ReactDOM from 'react-dom'
6
@@ -9,7 +8,7 @@ import * as ReactDOM from 'react-dom'
9
8
const defaultRuntime = {
10
React,
11
ReactDOM,
12
- _jsx_runtime: process.env.NODE_ENV === 'production' ? _jsx_runtime : _jsx_dev_runtime,
+ _jsx_runtime,
13
}
14
15
/**
0 commit comments