diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index c3f524964b89..e7b69c6d17f4 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -1852,11 +1852,11 @@ function toggleEmojiReaction(reportID, reportAction, reactionObject, existingRea const skinTone = emoji.types === undefined ? -1 : paramSkinTone; if (existingReactionObject && hasAccountIDEmojiReacted(currentUserAccountID, existingReactionObject.users, skinTone)) { - removeEmojiReaction(reportID, reportAction.reportActionID, emoji); + removeEmojiReaction(originalReportID, reportAction.reportActionID, emoji); return; } - addEmojiReaction(reportID, reportAction.reportActionID, emoji, skinTone); + addEmojiReaction(originalReportID, reportAction.reportActionID, emoji, skinTone); } /**