redirect homepage to website in production. support lang param

This commit is contained in:
Danel Kungla
2025-09-09 12:36:19 +03:00
parent 1283094a91
commit 514cb3bf7b
2 changed files with 13 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ export function LanguageSelector({
}
if (!userId) {
localStorage.setItem('lang', locale);
return i18n.changeLanguage(locale);
}