Fix: Even number of emoji clicks hide who the sender was

This commit is contained in:
André Möller 2024-08-16 11:52:40 -03:00
parent 7c62352079
commit 6bbe3d4baa

View File

@ -74,7 +74,7 @@ const ReactionsButton = (props) => {
};
const handleReactionSelect = (reaction) => {
const newReaction = currentUserReaction === reaction ? 'none' : reaction;
const newReaction = currentUserReaction === reaction ? currentUserReaction : reaction;
setReactionEmoji({ variables: { reactionEmoji: newReaction } });
};