Skip to content

Commit

Permalink
Update src/libs/EmojiUtils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Getabalew Tesfaye <[email protected]>
  • Loading branch information
wildan-m and getusha authored Feb 5, 2024
1 parent b87603b commit b85a6f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libs/EmojiUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,7 @@ const getEmojiReactionDetails = (emojiName: string, reaction: ReportActionReacti
};

/**
* Get base emoji without skintone
* @returns emoji without skin tone
* Given an emoji code, returns an base emoji code without skin tone
*/
const getRemovedSkinToneEmoji = (emoji: string) => emoji.replace(CONST.REGEX.EMOJI_SKIN_TONES, '');

Expand Down

0 comments on commit b85a6f9

Please sign in to comment.