diff --git a/package.json b/package.json index a3c3cf07a7..ffed4f17a1 100644 --- a/package.json +++ b/package.json @@ -76,6 +76,7 @@ "react-dom": "^15.4.0", "react-gemini-scrollbar": "matrix-org/react-gemini-scrollbar#5e97aef", "sanitize-html": "^1.11.1", + "text-encoding-utf-8": "^1.0.1", "ua-parser-js": "^0.7.10", "url": "^0.11.0", "velocity-vector": "vector-im/velocity#059e3b2" diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js index a9f2bbd0bc..e1e700f21e 100644 --- a/src/components/structures/HomePage.js +++ b/src/components/structures/HomePage.js @@ -18,8 +18,6 @@ limitations under the License. 'use strict'; import React from 'react'; -import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg'; -import sdk from 'matrix-react-sdk'; import GeminiScrollbar from 'react-gemini-scrollbar'; import request from 'browser-request'; import { _t } from 'matrix-react-sdk/lib/languageHandler'; diff --git a/src/components/views/rooms/DNDRoomTile.js b/src/components/views/rooms/DNDRoomTile.js index 6abb5bd06c..7857da9dbe 100644 --- a/src/components/views/rooms/DNDRoomTile.js +++ b/src/components/views/rooms/DNDRoomTile.js @@ -20,7 +20,6 @@ import React from 'react'; import {DragSource} from 'react-dnd'; import {DropTarget} from 'react-dnd'; -import dis from 'matrix-react-sdk/lib/dispatcher'; import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg'; import sdk from 'matrix-react-sdk'; import { _t } from 'matrix-react-sdk/lib/languageHandler';