Browse Source

update i18n.js

Yuki Takei 4 years ago
parent
commit
7da4574052
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/client/util/i18n.js

+ 1 - 1
packages/app/src/client/util/i18n.js

@@ -1,7 +1,7 @@
 import i18n from 'i18next';
 import LanguageDetector from 'i18next-browser-languagedetector';
 import { initReactI18next } from 'react-i18next';
-import locales from '@root/resource/locales';
+import locales from '^/resource/locales';
 
 const aliasesMapping = {};
 Object.values(locales).forEach((locale) => {