From 7dc55a9a47259fdf4be0b5112e0962df5e69914e Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 31 May 2017 17:53:32 +0100 Subject: [PATCH] Import correctly --- src/vector/platform/ElectronPlatform.js | 2 +- src/vector/platform/VectorBasePlatform.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index 6bc04730..0f044458 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -19,7 +19,7 @@ limitations under the License. import VectorBasePlatform from './VectorBasePlatform'; import dis from 'matrix-react-sdk/lib/dispatcher'; -import _t from 'matrix-react-sdk/lib/languageHandler'; +import { _t } from 'matrix-react-sdk/lib/languageHandler'; import q from 'q'; import electron, {remote, ipcRenderer} from 'electron'; diff --git a/src/vector/platform/VectorBasePlatform.js b/src/vector/platform/VectorBasePlatform.js index bf15e6cf..76707d1d 100644 --- a/src/vector/platform/VectorBasePlatform.js +++ b/src/vector/platform/VectorBasePlatform.js @@ -18,7 +18,7 @@ limitations under the License. */ import BasePlatform from 'matrix-react-sdk/lib/BasePlatform'; -import _t from 'matrix-react-sdk/lib/languageHandler'; +import { _t } from 'matrix-react-sdk/lib/languageHandler'; import Favico from 'favico.js';