fix: wrap code without a match

This commit is contained in:
ManishMadan2882 committed 2024-09-05 03:07:32 +05:30
1 parent adb7132e02
commit 30bb8449e9
1 file changed
+4 -1
@@ -250,7 +250,10 @@ const ConversationBubble = forwardRef<
</div>
</div>
) : (
<code className={className ? className : ''} {...props}>
<code
className={className ? className : 'whitespace-pre-line'}
{...props}
>
{children}
</code>
);