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.es.js CHANGED
@@ -3655,6 +3655,10 @@ function EmojiPicker(props) {
3655
3655
  });
3656
3656
  return;
3657
3657
  }
3658
+ if (cacheI18n[language]) {
3659
+ setI18n(cacheI18n[language]);
3660
+ return;
3661
+ }
3658
3662
 
3659
3663
  // @ts-ignore
3660
3664
  fetch("".concat(EMOJI_MART_DATA_URL, "/i18n/").concat(language, ".json")).then(function (_x2) {