Convert many imports to handle ES6 exports

Reliant upon https://github.com/matrix-org/matrix-react-sdk/pull/3761
This commit is contained in:
Travis Ralston 2019-12-19 18:19:56 -07:00
parent 38e75aaae0
commit d56f0f2a25
249 changed files with 263 additions and 265 deletions

View file

@ -20,7 +20,7 @@ import React, {useEffect} from 'react';
import PropTypes from 'prop-types';
import { _t } from '../../../languageHandler';
import sdk from '../../../index';
import * as sdk from '../../../index';
import dis from '../../../dispatcher';
import Modal from '../../../Modal';
import {aboveLeftOf, ContextMenu, ContextMenuButton, useContextMenu} from '../../structures/ContextMenu';