Removed Markdown from user message on chat

This commit is contained in:
Lucas Oliveira 2023-05-30 10:44:47 -03:00
commit bc198bd237

View file

@ -151,13 +151,7 @@ export default function ChatMessage({
) : ( ) : (
<div className="w-full flex items-center"> <div className="w-full flex items-center">
<div className="text-start inline-block px-3 text-sm text-gray-600 dark:text-white"> <div className="text-start inline-block px-3 text-sm text-gray-600 dark:text-white">
<ReactMarkdown <div className="text-gray-600 dark:text-gray-200">{message}</div>
remarkPlugins={[remarkGfm, remarkMath]}
rehypePlugins={[rehypeMathjax]}
className="markdown prose dark:prose-invert text-gray-600 dark:text-gray-200"
>
{message}
</ReactMarkdown>
</div> </div>
</div> </div>
)} )}