From 033241691cb01ba3e661e53a1c9e83fb24293f15 Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Wed, 9 Jun 2021 21:57:10 +0200 Subject: [PATCH] MM-36269 fix post reaction handle press (#5438) (#5442) (cherry picked from commit c7ef19d36e2e740b5d57208d643e4ca900a88ff8) Co-authored-by: Elias Nahum --- app/components/post_list/post/body/reactions/reaction.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/post_list/post/body/reactions/reaction.tsx b/app/components/post_list/post/body/reactions/reaction.tsx index 9baf67a4e..a98309edf 100644 --- a/app/components/post_list/post/body/reactions/reaction.tsx +++ b/app/components/post_list/post/body/reactions/reaction.tsx @@ -48,7 +48,7 @@ const Reaction = ({count, emojiName, highlight, onPress, onLongPress, theme}: Re const handlePress = useCallback(() => { onPress(emojiName, highlight); - }, []); + }, [highlight]); return (