Skip to content

Commit 8db6535

Browse files
committed
a more compresed rendering of md
1 parent 69b7d1a commit 8db6535

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/client/components/Chat/Conversation.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ export const Response = ({
3737
</>
3838
)}
3939
<Box pr={7} py={2}>
40-
<ReactMarkdown
41-
remarkPlugins={[remarkGfm]}
42-
className="line-break-markdown"
43-
>
40+
<ReactMarkdown remarkPlugins={[remarkGfm]}>
4441
{content}
4542
</ReactMarkdown>
4643
</Box>

src/client/components/Chat/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ const Chat = () => {
370370
/>
371371
)}
372372
<Box sx={{ mb: 3 }} />
373+
373374
<Conversation
374375
messages={messages}
375376
completion={completion}

0 commit comments

Comments
 (0)