react-input-emoji 5.6.9 → 5.6.10

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/dist/index.js CHANGED
@@ -3662,6 +3662,10 @@ function EmojiPicker(props) {
3662
3662
  });
3663
3663
  return;
3664
3664
  }
3665
+ if (cacheI18n[language]) {
3666
+ setI18n(cacheI18n[language]);
3667
+ return;
3668
+ }
3665
3669
 
3666
3670
  // @ts-ignore
3667
3671
  fetch("".concat(EMOJI_MART_DATA_URL, "/i18n/").concat(language, ".json")).then(function (_x2) {