Przeglądaj źródła

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

tags/1.4.1
HyaCinth 5 miesięcy temu
rodzic
commit
eb26dc3213
No account linked to committer's email address

+ 1
- 3
web/app/components/base/chat/chat/answer/index.tsx Wyświetl plik

@@ -234,6 +234,4 @@ const Answer: FC<AnswerProps> = ({
)
}

export default memo(Answer, (prevProps, nextProps) =>
prevProps.responding === false && nextProps.responding === false,
)
export default memo(Answer)

Ładowanie…
Anuluj
Zapisz