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