Mass replace irelax with homaroma across project

This commit is contained in:
Your Name committed 2026-06-03 11:01:01 +07:00
1 parent 5e6cb851de
commit d9c79aa900
57 files changed
+117 -117

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
* 3. Fallback dev — http://localhost:3000/api
*
* Dev: NEXT_PUBLIC_API_URL=http://localhost:3000/api
* Production: NEXT_PUBLIC_API_URL=https://api.irelaxaroma.shop/api
* Production: NEXT_PUBLIC_API_URL=https://api.homaroma.shop/api
*/
export const API_BASE =
process.env.NEXT_PUBLIC_API_URL ||
+1 -1
View File
@@ -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) {