Fix undefined SEARCH_CATEGORY
parent
0765bf56f7
commit
f879348e2e
|
@ -380,8 +380,8 @@ export default class Picker extends React.PureComponent {
|
||||||
switch (e.keyCode) {
|
switch (e.keyCode) {
|
||||||
case 13:
|
case 13:
|
||||||
handled = true
|
handled = true
|
||||||
if (SEARCH_CATEGORY.emojis) {
|
if (this.SEARCH_CATEGORY.emojis) {
|
||||||
this.handleEmojiSelect(SEARCH_CATEGORY.emojis[0])
|
this.handleEmojiSelect(this.SEARCH_CATEGORY.emojis[0])
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue