Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pederjohnsen committed Mar 23, 2019
1 parent 5c64cc6 commit 5570a7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function getData(emoji, skin, set, data) {

function getEmojiDataFromNative(nativeString, set, data) {
if (data.compressed) {
uncompress(data);
uncompress(data)
}

const skinTones = ['🏻', '🏼', '🏽', '🏾', '🏿']
Expand All @@ -157,15 +157,15 @@ function getEmojiDataFromNative(nativeString, set, data) {
}
})

let emojiData;
let emojiData

for (let id in data.emojis) {
let emoji = data.emojis[id]

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]) {
Expand Down

0 comments on commit 5570a7c

Please sign in to comment.