Skip to content

Commit

Permalink
change code style
Browse files Browse the repository at this point in the history
  • Loading branch information
gaecoli committed Apr 26, 2023
1 parent 5eeda15 commit f913457
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions client/app/i18n/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import i18n from 'i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next';
import en from './locales/en.json';
import zh from './locales/zh.json';
import i18n from "i18next";
import LanguageDetector from "i18next-browser-languagedetector";
import { initReactI18next } from "react-i18next";
import en from "./locales/en.json";
import zh from "./locales/zh.json";

i18n
.use(initReactI18next)
Expand All @@ -12,8 +12,8 @@ i18n
en: { translation: en },
zh: { translation: zh },
},
fallbackLng: 'zh',
preload: ['en', 'zh'],
fallbackLng: "zh",
preload: ["en", "zh"],
interpolation: {
escapeValue: false,
},
Expand Down

0 comments on commit f913457

Please sign in to comment.