Skip to content

Commit

Permalink
fix(classroom): language will be reset upon enter classroom (netless-…
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackHole1 committed Jan 19, 2022
1 parent fbb1107 commit b2aa03b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion desktop/renderer-app/src/utils/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import I18nextBrowserLanguageDetector from "i18next-browser-languagedetector";
import { initReactI18next } from "react-i18next";

const messages: Resource = {
// @TODO wait until en translation completes
en: { translation: en },
"zh-CN": { translation: zhCN },
};
Expand Down
4 changes: 0 additions & 4 deletions web/flat-web/src/utils/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ void i18next
interpolation: {
escapeValue: false, // react already safes from xss
},
detection: {
// don't remember last language detection result
caches: [],
},
});

/**
Expand Down

0 comments on commit b2aa03b

Please sign in to comment.