diff --git a/src/components/picker.js b/src/components/picker.js index 6cb1ca3..a654b27 100644 --- a/src/components/picker.js +++ b/src/components/picker.js @@ -380,8 +380,8 @@ export default class Picker extends React.PureComponent { switch (e.keyCode) { case 13: handled = true - if (SEARCH_CATEGORY.emojis) { - this.handleEmojiSelect(SEARCH_CATEGORY.emojis[0]) + if (this.SEARCH_CATEGORY.emojis) { + this.handleEmojiSelect(this.SEARCH_CATEGORY.emojis[0]) } break; }