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

This commit is contained in:
HyaCinth 2025-05-26 18:04:25 +08:00 committed by GitHub
commit eb26dc3213
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)