1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-18 09:22:18 +03:00

Move DragDropContext to wrap LoggedInView

Becuase the tests rely on being able to inspect the state of MatrixChat
This commit is contained in:
Luke Barnard
2017-12-06 15:01:16 +00:00
parent 8f88995b3d
commit 7e1f1cdbd9
2 changed files with 6 additions and 4 deletions

View File

@ -19,8 +19,6 @@ limitations under the License.
import Promise from 'bluebird';
import React from 'react';
import { DragDropContext } from 'react-dnd';
import HTML5Backend from 'react-dnd-html5-backend';
import Matrix from "matrix-js-sdk";
import Analytics from "../../Analytics";
@ -1587,4 +1585,4 @@ const MatrixChat = React.createClass({
},
});
export default DragDropContext(HTML5Backend)(MatrixChat);
export default MatrixChat;