Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

HyaCintheb26dc321394
diff --git a/web/app/components/base/chat/chat/answer/index.tsx b/web/app/components/base/chat/chat/answer/index.tsx
index a0a93237293..37225569319 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<AnswerProps> = ({
)
}
-export default memo(Answer, (prevProps, nextProps) =>
- prevProps.responding === false && nextProps.responding === false,
-)
+export default memo(Answer)