💄 Prettier
parent
c010035015
commit
88b1045ff7
|
@ -475,7 +475,9 @@ export default class Picker extends React.PureComponent {
|
||||||
native={native}
|
native={native}
|
||||||
hasStickyPosition={this.hasStickyPosition}
|
hasStickyPosition={this.hasStickyPosition}
|
||||||
i18n={this.i18n}
|
i18n={this.i18n}
|
||||||
recent={category.id == this.RECENT_CATEGORY.id ? recent : undefined}
|
recent={
|
||||||
|
category.id == this.RECENT_CATEGORY.id ? recent : undefined
|
||||||
|
}
|
||||||
custom={
|
custom={
|
||||||
category.id == this.RECENT_CATEGORY.id
|
category.id == this.RECENT_CATEGORY.id
|
||||||
? this.CUSTOM_CATEGORY.emojis
|
? this.CUSTOM_CATEGORY.emojis
|
||||||
|
|
|
@ -12,7 +12,13 @@ export default class Preview extends React.PureComponent {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
var { emoji } = this.state,
|
var { emoji } = this.state,
|
||||||
{ emojiProps, skinsProps, showSkinTones, title, emoji: idleEmoji } = this.props
|
{
|
||||||
|
emojiProps,
|
||||||
|
skinsProps,
|
||||||
|
showSkinTones,
|
||||||
|
title,
|
||||||
|
emoji: idleEmoji,
|
||||||
|
} = this.props
|
||||||
|
|
||||||
if (emoji) {
|
if (emoji) {
|
||||||
var emojiData = getData(emoji),
|
var emojiData = getData(emoji),
|
||||||
|
|
Loading…
Reference in New Issue