fix: chat agent mode content copy (#2418)
This commit is contained in:
parent
71e5828d41
commit
1b04382a9b
11 changed files with 166 additions and 133 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import type { FC } from 'react'
|
||||
import { memo } from 'react'
|
||||
import type { ChatItem } from '../../types'
|
||||
import { Markdown } from '@/app/components/base/markdown'
|
||||
|
||||
|
|
@ -19,4 +20,4 @@ const BasicContent: FC<BasicContentProps> = ({
|
|||
return <Markdown content={content} />
|
||||
}
|
||||
|
||||
export default BasicContent
|
||||
export default memo(BasicContent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue