MM-36269 fix post reaction handle press (#5438)

This commit is contained in:
Elias Nahum 2021-06-09 15:15:26 -04:00 committed by GitHub
parent 7cc57c2dbe
commit c7ef19d36e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ const Reaction = ({count, emojiName, highlight, onPress, onLongPress, theme}: Re
const handlePress = useCallback(() => {
onPress(emojiName, highlight);
}, []);
}, [highlight]);
return (
<TouchableWithFeedback