disable auto language detection;

disable languuage switch for now;
Tweak some error logs and messages
This commit is contained in:
Dobromir Popov
2024-04-30 02:51:37 +03:00
parent aa766f4e1e
commit c98b018bb1
7 changed files with 66 additions and 32 deletions

View File

@ -39,7 +39,7 @@ const LanguageSwitcher = () => {
open={Boolean(anchorEl)}
onClose={handleClose}
>
{locales.map((lng) => {
{locales?.map((lng) => {
if (lng === locale) return null;
return (
<MenuItem key={lng} onClick={() => changeLanguage(lng)}>