From c7ef19d36e2e740b5d57208d643e4ca900a88ff8 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Wed, 9 Jun 2021 15:15:26 -0400 Subject: [PATCH] MM-36269 fix post reaction handle press (#5438) --- 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 (