mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Remove refs to counterpart
and remove extCounterpart which is unnecessary now we just use a single counterpart instance
This commit is contained in:
parent
b95da4a40c
commit
7636212bed
@ -55,8 +55,6 @@ if (process.env.NODE_ENV !== 'production') {
|
||||
|
||||
var RunModernizrTests = require("./modernizr"); // this side-effects a global
|
||||
var ReactDOM = require("react-dom");
|
||||
// Workaround for broken export
|
||||
import * as counterpart from 'counterpart-riot';
|
||||
var sdk = require("matrix-react-sdk");
|
||||
var PlatformPeg = require("matrix-react-sdk/lib/PlatformPeg");
|
||||
sdk.loadSkin(require('../component-index'));
|
||||
@ -317,7 +315,7 @@ async function loadApp() {
|
||||
async function loadLanguage() {
|
||||
const lang = UserSettingsStore.getLocalSetting('language', languageHandler.getLanguageFromBrowser());
|
||||
const languages = languageHandler.getNormalizedLanguageKeys(lang);
|
||||
languageHandler.setLanguage(languages, counterpart);
|
||||
languageHandler.setLanguage(languages);
|
||||
}
|
||||
|
||||
loadApp();
|
||||
|
Loading…
Reference in New Issue
Block a user