chore: clean console log

This commit is contained in:
Louis 2024-12-02 09:57:29 +07:00
parent 19feb9e506
commit e800349ed5
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2

View File

@ -18,9 +18,8 @@ import { useClipboard } from '@/hooks/useClipboard'
import { getLanguageFromExtension } from '@/utils/codeLanguageExtension'
export const MarkdownTextMessage = memo(
({ text, id }: { id: string; text: string }) => {
({ text }: { id: string; text: string }) => {
const clipboard = useClipboard({ timeout: 1000 })
console.log('rerender', id)
function extractCodeLines(node: { children: { children: any[] }[] }) {
const codeLines: any[] = []