Merge pull request #4707 from tulir/patch-1

Stop removing variation selector from quick reactions
This commit is contained in:
Michael Telatynski 2020-06-04 17:41:15 +01:00 committed by GitHub
commit 88c325afa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,7 @@ const QUICK_REACTIONS = ["👍", "👎", "😄", "🎉", "😕", "❤️", "🚀
if (!data) {
throw new Error(`Emoji ${emoji} doesn't exist in emojibase`);
}
// Prefer our unicode value for quick reactions as we sometimes use variation selectors.
return Object.assign({}, data, { unicode: emoji });
return data;
});
class QuickReactions extends React.Component {