diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index db26d55..9877db6 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -83,22 +83,16 @@ const ConversationBubble = forwardRef< code({ node, inline, className, children, ...props }) { const match = /language-(\w+)/.exec(className || ''); - return ( -
- {!inline && match ? ( - - {String(children).replace(/\n$/, '')} - - ) : ( - - {children} - - )} + return !inline && match ? ( +
+ + {String(children).replace(/\n$/, '')} +
+ ) : ( + + {children} + ); }, ul({ children }) {