From 12c2abba9da3fc780e4ec9ed32d2ef142af44a85 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 10 Mar 2019 10:47:28 -0700 Subject: [PATCH] fix: fix emoji.id undefined error fixes #201 --- src/components/picker/nimble-picker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/picker/nimble-picker.js b/src/components/picker/nimble-picker.js index 1b8c120..763bd1c 100644 --- a/src/components/picker/nimble-picker.js +++ b/src/components/picker/nimble-picker.js @@ -397,6 +397,7 @@ export default class NimblePicker extends React.PureComponent { if ( this.SEARCH_CATEGORY.emojis && + this.SEARCH_CATEGORY.emojis.length && (emoji = getSanitizedData( this.SEARCH_CATEGORY.emojis[0], this.state.skin,