fix: wrap code without a match

This commit is contained in:
ManishMadan2882
2024-09-05 03:07:32 +05:30
parent adb7132e02
commit 30bb8449e9

View File

@@ -250,7 +250,10 @@ const ConversationBubble = forwardRef<
</div>
</div>
) : (
<code className={className ? className : ''} {...props}>
<code
className={className ? className : 'whitespace-pre-line'}
{...props}
>
{children}
</code>
);