mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
Merge pull request #5790 from vector-im/luke/feature-ordered-tag-panel
Move DND wrapper to top level component
This commit is contained in:
commit
7cc8fed61b
1 changed files with 1 additions and 3 deletions
|
@ -17,8 +17,6 @@ limitations under the License.
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { DragDropContext } from 'react-dnd';
|
|
||||||
import HTML5Backend from 'react-dnd-html5-backend';
|
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { KeyCode } from 'matrix-react-sdk/lib/Keyboard';
|
import { KeyCode } from 'matrix-react-sdk/lib/Keyboard';
|
||||||
import sdk from 'matrix-react-sdk';
|
import sdk from 'matrix-react-sdk';
|
||||||
|
@ -199,4 +197,4 @@ var LeftPanel = React.createClass({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = DragDropContext(HTML5Backend)(LeftPanel);
|
module.exports = LeftPanel;
|
||||||
|
|
Loading…
Reference in a new issue