diff --git a/src/vector/index.js b/src/vector/index.js index f1ddfd66..193738e2 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -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();