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

(cherry picked from commit c7ef19d36e)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build
2021-06-09 21:57:10 +02:00
committed by GitHub
parent 3a4c9e75bf
commit 033241691c

View File

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