fix: fix emoji.id undefined error

fixes #201
release
Nolan Lawson 2019-03-10 10:47:28 -07:00
parent 8c80e7d4e5
commit 12c2abba9d
1 changed files with 1 additions and 0 deletions

View File

@ -397,6 +397,7 @@ export default class NimblePicker extends React.PureComponent {
if ( if (
this.SEARCH_CATEGORY.emojis && this.SEARCH_CATEGORY.emojis &&
this.SEARCH_CATEGORY.emojis.length &&
(emoji = getSanitizedData( (emoji = getSanitizedData(
this.SEARCH_CATEGORY.emojis[0], this.SEARCH_CATEGORY.emojis[0],
this.state.skin, this.state.skin,