You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you use react-i18next (for me, with hooks, but I'm not sure it's related), if you init i18next with fallbackLng: false and an unknown lng, you'll encounter an error.
Cannot read property '0' of undefined in node_modules/react-i18next/dist/es/hooks/useTranslation.js?:52:52
Occurs in react-i18next version
9.02
To Reproduce
Initialize a i18next with fallbackLng: false and set language to an unknown value (for example eo)
Expected behaviour
Working :)
OS (please complete the following information):
Happened on SSR, node 10 on Elasticbeanstalk and locally (MacOS)
The text was updated successfully, but these errors were encountered:
Describe the bug
If you use react-i18next (for me, with hooks, but I'm not sure it's related), if you init i18next with
fallbackLng: false
and an unknownlng
, you'll encounter an error.Occurs in react-i18next version
9.02
To Reproduce
fallbackLng: false
and set language to an unknown value (for exampleeo
)Expected behaviour
Working :)
OS (please complete the following information):
Happened on SSR, node 10 on Elasticbeanstalk and locally (MacOS)
The text was updated successfully, but these errors were encountered: