emoji-picker-react 4.5.10 → 4.5.11

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