Updates
This commit is contained in:
@@ -24,6 +24,7 @@ export function useMDXComponents(params?: Params) {
|
||||
if (React.isValidElement(children) && children.props) {
|
||||
return (
|
||||
<CodeBlock {...props} backgroundColor={codeBgColor}>
|
||||
{/* @ts-ignore */}
|
||||
{children.props.children}
|
||||
</CodeBlock>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user