mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-23 22:01:11 -05:00
Deep compare chatrow props to update when message changes
This commit is contained in:
@@ -80,7 +80,7 @@ const StyledPre = styled.pre<{ theme: any }>`
|
||||
.join("")}
|
||||
`
|
||||
|
||||
const CodeBlock = memo(function CodeBlock({ source }: { source?: string }) {
|
||||
const CodeBlock = memo(({ source }: { source?: string }) => {
|
||||
const { theme } = useExtensionState()
|
||||
const [reactContent, setMarkdownSource] = useRemark({
|
||||
remarkPlugins: [
|
||||
|
||||
Reference in New Issue
Block a user