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
parent 405c4d51f0
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)