Skip to content

Commit 608a359

Browse files
committed
Move DND wrapper to top level component
1 parent 9835e2e commit 608a359

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎src/components/structures/LeftPanel.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ limitations under the License.
1717
'use strict';
1818

1919
import React from 'react';
20-
import { DragDropContext } from 'react-dnd';
21-
import HTML5Backend from 'react-dnd-html5-backend';
2220
import classNames from 'classnames';
2321
import { KeyCode } from 'matrix-react-sdk/lib/Keyboard';
2422
import sdk from 'matrix-react-sdk';
@@ -199,4 +197,4 @@ var LeftPanel = React.createClass({
199197
}
200198
});
201199

202-
module.exports = DragDropContext(HTML5Backend)(LeftPanel);
200+
module.exports = LeftPanel;

0 commit comments

Comments
 (0)