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.es.js +4 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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) {
|