chore: clean console log
This commit is contained in:
parent
19feb9e506
commit
e800349ed5
@ -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[] = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user