瀏覽代碼

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

tags/1.4.1
HyaCinth 5 月之前
父節點
當前提交
eb26dc3213
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      web/app/components/base/chat/chat/answer/index.tsx

+ 1
- 3
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)

Loading…
取消
儲存