Skip to content

Commit

Permalink
fix: addressing reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhatha committed Nov 19, 2024
1 parent 8034357 commit a4e4392
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mito-ai/src/Extensions/AiChat/ChatMessage/ChatMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const ChatMessage: React.FC<IChatMessageProps> = ({
} else {
return (
<div style={{ position: 'relative' }}>
<p key={index} onDoubleClick={() => setIsEditing(true)}>
<p key={index + messagePart} onDoubleClick={() => setIsEditing(true)}>
{mitoAIConnectionError && <span style={{ marginRight: '4px' }}><ErrorIcon /></span>}
<MarkdownBlock
markdown={messagePart}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const MarkdownBlock: React.FC<IMarkdownCodeProps> = ({ markdown, rendermime }) =
}, [markdown, rendermime]);

return (
<div>{renderedContent || <div>No content</div>} </div>
<div>{renderedContent || <div></div>} </div>
);
};

Expand Down

0 comments on commit a4e4392

Please sign in to comment.