From e03d557a43c5224b43cdb363a87a865db3b33965 Mon Sep 17 00:00:00 2001 From: zhujiruo Date: Fri, 23 May 2025 12:40:11 +0800 Subject: [PATCH] fix: Remove the custom comparison function from the memo HOC in the Answer component (#19679) --- web/app/components/base/chat/chat/answer/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/app/components/base/chat/chat/answer/index.tsx b/web/app/components/base/chat/chat/answer/index.tsx index a0a9323729..3722556931 100644 --- a/web/app/components/base/chat/chat/answer/index.tsx +++ b/web/app/components/base/chat/chat/answer/index.tsx @@ -234,6 +234,4 @@ const Answer: FC = ({ ) } -export default memo(Answer, (prevProps, nextProps) => - prevProps.responding === false && nextProps.responding === false, -) +export default memo(Answer)