react-input-emoji 5.6.9 → 5.6.10

Sign up to get free protection for your applications and to get access to all the features.
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) {