Browse Source

fix: Remove the custom comparison function from the memo HOC(#19679) (#20197)

tags/1.4.1
HyaCinth 5 months ago
parent
commit
eb26dc3213
No account linked to committer's email address
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      web/app/components/base/chat/chat/answer/index.tsx

+ 1
- 3
web/app/components/base/chat/chat/answer/index.tsx View File

@@ -234,6 +234,4 @@ const Answer: FC<AnswerProps> = ({
)
}

export default memo(Answer, (prevProps, nextProps) =>
prevProps.responding === false && nextProps.responding === false,
)
export default memo(Answer)

Loading…
Cancel
Save