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'
|
import { getLanguageFromExtension } from '@/utils/codeLanguageExtension'
|
||||||
|
|
||||||
export const MarkdownTextMessage = memo(
|
export const MarkdownTextMessage = memo(
|
||||||
({ text, id }: { id: string; text: string }) => {
|
({ text }: { id: string; text: string }) => {
|
||||||
const clipboard = useClipboard({ timeout: 1000 })
|
const clipboard = useClipboard({ timeout: 1000 })
|
||||||
console.log('rerender', id)
|
|
||||||
|
|
||||||
function extractCodeLines(node: { children: { children: any[] }[] }) {
|
function extractCodeLines(node: { children: { children: any[] }[] }) {
|
||||||
const codeLines: any[] = []
|
const codeLines: any[] = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user