浏览代码

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

tags/1.4.1
HyaCinth 5 个月前
父节点
当前提交
eb26dc3213
没有帐户链接到提交者的电子邮件
共有 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)

正在加载...
取消
保存