From 88b1045ff78e88fbed99f7e2d473fbea42f68f17 Mon Sep 17 00:00:00 2001 From: Etienne Lemay Date: Fri, 2 Mar 2018 15:10:04 -0500 Subject: [PATCH] :lipstick: Prettier --- src/components/picker.js | 4 +++- src/components/preview.js | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/picker.js b/src/components/picker.js index c86e4b6..16ac1a8 100644 --- a/src/components/picker.js +++ b/src/components/picker.js @@ -475,7 +475,9 @@ export default class Picker extends React.PureComponent { native={native} hasStickyPosition={this.hasStickyPosition} i18n={this.i18n} - recent={category.id == this.RECENT_CATEGORY.id ? recent : undefined} + recent={ + category.id == this.RECENT_CATEGORY.id ? recent : undefined + } custom={ category.id == this.RECENT_CATEGORY.id ? this.CUSTOM_CATEGORY.emojis diff --git a/src/components/preview.js b/src/components/preview.js index 5d6169c..d0bef93 100644 --- a/src/components/preview.js +++ b/src/components/preview.js @@ -12,7 +12,13 @@ export default class Preview extends React.PureComponent { render() { var { emoji } = this.state, - { emojiProps, skinsProps, showSkinTones, title, emoji: idleEmoji } = this.props + { + emojiProps, + skinsProps, + showSkinTones, + title, + emoji: idleEmoji, + } = this.props if (emoji) { var emojiData = getData(emoji),