From 5570a7ce1a4346a69af9cf1cbc6022a66dabf35e Mon Sep 17 00:00:00 2001 From: Peder Johnsen Date: Sat, 23 Mar 2019 21:15:47 +0000 Subject: [PATCH] Run prettier --- src/utils/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index 1b66fadf6..6862779c0 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -140,7 +140,7 @@ function getData(emoji, skin, set, data) { function getEmojiDataFromNative(nativeString, set, data) { if (data.compressed) { - uncompress(data); + uncompress(data) } const skinTones = ['🏻', '🏼', '🏽', '🏾', '🏿'] @@ -157,7 +157,7 @@ function getEmojiDataFromNative(nativeString, set, data) { } }) - let emojiData; + let emojiData for (let id in data.emojis) { let emoji = data.emojis[id] @@ -165,7 +165,7 @@ function getEmojiDataFromNative(nativeString, set, data) { let emojiUnified = emoji.unified if (emoji.variations && emoji.variations.length) { - emojiUnified = emoji.variations.shift() + emojiUnified = emoji.variations.shift() } if (skin && emoji.skin_variations && emoji.skin_variations[skinCode]) {