chore(client): refactor & organise config (#40875)
This commit is contained in:
committed by
GitHub
parent
c1f9cd93f5
commit
fffc0e51ec
@@ -1,8 +1,8 @@
|
||||
import i18n from 'i18next';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
|
||||
const { clientLocale } = require('../config/env');
|
||||
const { i18nextCodes } = require('./allLangs');
|
||||
import { clientLocale } from '../../config/env.json';
|
||||
import { i18nextCodes } from './allLangs';
|
||||
|
||||
const i18nextCode = i18nextCodes[clientLocale];
|
||||
|
||||
|
Reference in New Issue
Block a user