fix import

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-06-18 11:54:06 +01:00
parent 4fdb64a049
commit 1a236499b1
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E

View File

@ -24,7 +24,7 @@ import dis from '../../../dispatcher';
import MatrixClientPeg from '../../../MatrixClientPeg';
import DMRoomMap from '../../../utils/DMRoomMap';
import sdk from '../../../index';
import ContextualMenu from '../../structures/ContextualMenu';
import {createMenu} from '../../structures/ContextualMenu';
import * as RoomNotifs from '../../../RoomNotifs';
import * as FormattingUtils from '../../../utils/FormattingUtils';
import AccessibleButton from '../elements/AccessibleButton';
@ -217,7 +217,7 @@ module.exports = React.createClass({
y = y - (chevronOffset + 8); // where 8 is half the height of the chevron
const self = this;
ContextualMenu.createMenu(RoomTileContextMenu, {
createMenu(RoomTileContextMenu, {
chevronOffset: chevronOffset,
left: x,
top: y,