Describe the bug
I encountered an error in the LanguageSelector component that leads to a "Cannot read properties of undefined (reading 'map')" TypeError. This issue prevents the component from functioning as expected.
To Reproduce
Steps to reproduce the behavior:
Import LanguageSelector from astro-i18next on any page or component
See error on dev server
Expected behavior
A working LanguageSelector to choose locale language.
Screenshots
Context (please complete the following information):
astro-i18next version: 1.0.0-beta.21
astro version: 3.2.0
OS: Windows 11
Browser: Firefox
My config files are the same as in the example. And the language selector is imported as in the example.
Describe the bug I encountered an error in the LanguageSelector component that leads to a "Cannot read properties of undefined (reading 'map')" TypeError. This issue prevents the component from functioning as expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A working LanguageSelector to choose locale language.
Screenshots
Context (please complete the following information):
astro-i18next
version: 1.0.0-beta.21astro
version: 3.2.0My config files are the same as in the example. And the language selector is imported as in the example.