diff --git a/packages/react/src/create-element.js b/packages/react/src/create-element.js index 6cf0f95f3..a5a488178 100644 --- a/packages/react/src/create-element.js +++ b/packages/react/src/create-element.js @@ -1,4 +1,4 @@ -import React, {forwardRef} from 'react' +import React from 'react' import {useMDXComponents} from './context' @@ -9,7 +9,7 @@ const DEFAULTS = { wrapper: ({children}) => React.createElement(React.Fragment, {}, children) } -const MDXCreateElement = forwardRef((props, ref) => { +const MDXCreateElement = React.forwardRef((props, ref) => { const { components: propComponents, mdxType,