emoji-picker-react 4.5.12 → 4.5.13

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.
@@ -16846,10 +16846,7 @@ function emojiByUnified(unified) {
16846
16846
  }
16847
16847
  var allEmojis = /*#__PURE__*/Object.values(emojis).flat();
16848
16848
  function setCustomEmojis(customEmojis) {
16849
- if (!customEmojis || customEmojis.length === 0) {
16850
- emojis[Categories.CUSTOM].length = 0;
16851
- }
16852
-
16849
+ emojis[Categories.CUSTOM].length = 0;
16853
16850
  customEmojis.forEach(function (emoji) {
16854
16851
  var emojiData = customToRegularEmoji(emoji);
16855
16852
  emojis[Categories.CUSTOM].push(emojiData);