diff --git a/apps/www/registry/default/ui/chat/markdown.tsx b/apps/www/registry/default/ui/chat/markdown.tsx index d8689fc..ab52bfb 100644 --- a/apps/www/registry/default/ui/chat/markdown.tsx +++ b/apps/www/registry/default/ui/chat/markdown.tsx @@ -38,14 +38,14 @@ export default function Markdown({ content }: { content: string }) { ) }, - pre({ node, className, ...props }) { + pre({ node, className, children, ...props }) { const match = /language-(\w+)/.exec(className || "") return ( )