emoji-picker-react 4.5.11 → 4.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.5.11",
2
+ "version": "4.5.12",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -100,13 +100,14 @@ export function setCustomEmojis(customEmojis: CustomEmoji[]): void {
100
100
  customEmojis.forEach(emoji => {
101
101
  const emojiData = customToRegularEmoji(emoji);
102
102
 
103
+ emojis[Categories.CUSTOM].push(emojiData as never);
104
+
103
105
  if (allEmojisByUnified[emojiData[EmojiProperties.unified]]) {
104
106
  return;
105
107
  }
106
108
 
107
109
  allEmojis.push(emojiData);
108
110
  allEmojisByUnified[emojiData[EmojiProperties.unified]] = emojiData;
109
- emojis[Categories.CUSTOM].push(emojiData as never);
110
111
  indexEmoji(emojiData);
111
112
  });
112
113
  }