💄 Prettier

nolan/hinaloe-test
Etienne Lemay 2018-03-02 15:10:04 -05:00
parent c010035015
commit 88b1045ff7
No known key found for this signature in database
GPG Key ID: EE7CF89146BB28E9
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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),