Merge branch 'fix-unreact' into 'main'
Fix emoji unreact Closes #1616 See merge request soapbox-pub/soapbox!2855
This commit is contained in:
@ -85,6 +85,7 @@ export const simulateUnEmojiReact = (emojiReacts: ImmutableList<EmojiReaction>,
|
||||
const newCount = (emojiReact.count || 1) - 1;
|
||||
if (newCount < 1) return emojiReacts.delete(idx);
|
||||
return emojiReacts.set(idx, emojiReactionSchema.parse({
|
||||
...emojiReact,
|
||||
count: (emojiReact.count || 1) - 1,
|
||||
me: false,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user