ghost-portal/packages/page-settings/src/I18n
fadomire 7f9073b75a
Fix translations loading for ever (#5282)
Currently when going to #/settings/i18n we have the spinner loading forever.

It is caused by 404 on locales/pl/translation.json missing.

bug introduced by this PR:
https://github.com/polkadot-js/apps/pull/4724

To avoid this in future and instead of creating a locales/pl/translation.json (that can be done in another PR) ii catch any error on retrieveJson and return an empty {}
2021-05-14 22:52:16 +02:00
..
index.tsx Fix translations loading for ever (#5282) 2021-05-14 22:52:16 +02:00
StringInput.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00