switch to imports

This commit is contained in:
Matthew Hodgson 2017-06-01 14:42:44 +01:00
parent 01cdc7ff21
commit e6cf93e237

View file

@ -14,12 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
'use strict'; import React from 'react';
import MatrixClientPeg from '../../../MatrixClientPeg';
var React = require('react'); import { ContentRepo } from 'matrix-js-sdk';
var MatrixClientPeg = require("../../../MatrixClientPeg");
var ContentRepo = require("matrix-js-sdk").ContentRepo;
import { _t, _tJsx } from '../../../languageHandler'; import { _t, _tJsx } from '../../../languageHandler';
import sdk from '../../../index'; import sdk from '../../../index';
import Modal from '../../../Modal'; import Modal from '../../../Modal';