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 from 'react';
import createReactClass from 'create-react-class';
import PropTypes from 'prop-types';
import MatrixClientPeg from '../../MatrixClientPeg';
import sdk from '../../index';
import * as sdk from '../../index';
import dis from '../../dispatcher';
import { getHostingLink } from '../../utils/HostingLink';
import { sanitizedHtmlNode } from '../../HtmlUtils';