Mass replace irelax with homaroma across project
This commit is contained in:
1 parent
5e6cb851de
commit
d9c79aa900
57 files changed
+117
-117
No files matched your search
@@ -5,7 +5,7 @@ import enTranslation from '../locales/en/translation.json'
|
||||
import thTranslation from '../locales/th/translation.json'
|
||||
|
||||
// Ensure we only access localStorage on the client side
|
||||
const savedLang = typeof window !== 'undefined' ? (localStorage.getItem('irelax_lang') || 'th') : 'th'
|
||||
const savedLang = typeof window !== 'undefined' ? (localStorage.getItem('homaroma_lang') || 'th') : 'th'
|
||||
|
||||
// Check if it's already initialized to prevent re-initialization on HMR
|
||||
if (!i18n.isInitialized) {
|
||||
|
||||
Reference in new issue
Block a user