codehike icon indicating copy to clipboard operation
codehike copied to clipboard

Mark and link annotation doesn't work in vite + react

Open aromko opened this issue 1 year ago • 0 comments

Trying to set up this example with vite + react https://github.com/code-hike/not-stripe. I got errors when using mark oder link [plugin:@mdx-js/rollup] function Mark(props) { if (props.isInline) { return React__default["default"].createElement(Inlin...... } could not be cloned.

[plugin:@mdx-js/rollup] function CodeLink({ children, isInline, style, data, }) { const url = (data === null || data === void 0 ? ...... } could not be cloned.

Only focus seems properly to work.

aromko avatar Apr 09 '24 13:04 aromko