Fix: Even number of emoji clicks hide who the sender was
This commit is contained in:
parent
7c62352079
commit
6bbe3d4baa
@ -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 } });
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user