fix mermaid processing error in code blocks (#1144)

This commit is contained in:
josh 2025-08-28 14:56:21 +01:00 committed by GitHub
parent f09be3f286
commit 7315ced92f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,6 +13,13 @@ export const Response = memo(
'size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0',
className,
)}
components={{
code: ({ children, className, ...props }) => (
<code className={className} {...props}>
{children}
</code>
),
}}
{...props}
/>
),