From 8524f5868c8d8b1adbdcc3554ce8d12b28959e04 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 27 May 2017 17:59:11 +0100 Subject: [PATCH] import _t, drop two unused imports without this FilePanel would ever-load Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/FilePanel.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/structures/FilePanel.js b/src/components/structures/FilePanel.js index ea048df97e..b85e7dc2d2 100644 --- a/src/components/structures/FilePanel.js +++ b/src/components/structures/FilePanel.js @@ -15,12 +15,11 @@ limitations under the License. */ import React from 'react'; -import ReactDOM from 'react-dom'; import Matrix from 'matrix-js-sdk'; import sdk from '../../index'; import MatrixClientPeg from '../../MatrixClientPeg'; -import dis from '../../dispatcher'; +import { _t } from '../../languageHandler'; /* * Component which shows the filtered file using a TimelinePanel