Skip to content

Commit

Permalink
fix: Added early return
Browse files Browse the repository at this point in the history
  • Loading branch information
mananjadhav committed Jan 15, 2022
1 parent 6517311 commit e82f8dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libs/EmojiUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ function mergeEmojisWithFrequentlyUsedEmojis(emojis, frequentlyUsedEmojis = [])
}];

allEmojis = allEmojis.concat(frequentlyUsedEmojis, emojis);
allEmojis = addSpacesToEmojiCategories(allEmojis);
return allEmojis;
return addSpacesToEmojiCategories(allEmojis);
}

/**
Expand Down

0 comments on commit e82f8dd

Please sign in to comment.