Merge pull request #4707 from tulir/patch-1
Stop removing variation selector from quick reactions
This commit is contained in:
commit
88c325afa4
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ const QUICK_REACTIONS = ["👍", "👎", "😄", "🎉", "😕", "❤️", "🚀
|
||||||
if (!data) {
|
if (!data) {
|
||||||
throw new Error(`Emoji ${emoji} doesn't exist in emojibase`);
|
throw new Error(`Emoji ${emoji} doesn't exist in emojibase`);
|
||||||
}
|
}
|
||||||
// Prefer our unicode value for quick reactions as we sometimes use variation selectors.
|
return data;
|
||||||
return Object.assign({}, data, { unicode: emoji });
|
|
||||||
});
|
});
|
||||||
|
|
||||||
class QuickReactions extends React.Component {
|
class QuickReactions extends React.Component {
|
||||||
|
|
Loading…
Reference in a new issue