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

View File

@@ -234,6 +234,4 @@ const Answer: FC<AnswerProps> = ({
) )
} }
export default memo(Answer, (prevProps, nextProps) => export default memo(Answer)
prevProps.responding === false && nextProps.responding === false,
)