We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi guys
I tried to use the Emoji component with an emoji that doesn't exist.
For instance, with :thumbsup:, it doesn't work :
:thumbsup:
<Emoji key={i} sheetURL={'/images/sheet_apple_32.png'} emoji={{ id: 'thumbsup', skin: 3 }} size={20} />
I have this error in the console :
emoji-mart.js?78ec:1041 Uncaught TypeError: Cannot read property 'skin_variations' of undefined
The text was updated successfully, but these errors were encountered:
Seems to be in the utils/index.js. It's missing a check :
utils/index.js
if (emojiData && emojiData.skin_variations && skin > 1 && sheetURL) {
I don't know why but I wasn't able to import my fork with npm to test it but pretty sure the error is in getData if emojiData is undefined.
getData
emojiData
undefined
Sorry, something went wrong.
Yes, pretty easy to reproduce indeed. Thanks, will fix ASAP.
Great, just waiting that to push the feature in production. Thanks
8f64b3c
No branches or pull requests
Hi guys
I tried to use the Emoji component with an emoji that doesn't exist.
For instance, with
:thumbsup:
, it doesn't work :I have this error in the console :
The text was updated successfully, but these errors were encountered: