Skip to content

Commit

Permalink
Update packages/ai/src/react/ai-chat/utils/getMarkdown.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens authored Jan 10, 2025
1 parent f12fd7d commit 4f9c867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ai/src/react/ai-chat/utils/getMarkdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const getMarkdown = (
if (fragment.length === 1) {
const modifiedFragment = [
{
...fragment[0],
children: fragment[0].children
type: 'p',
},
];
Expand Down

0 comments on commit 4f9c867

Please sign in to comment.