switch to imports
This commit is contained in:
parent
01cdc7ff21
commit
e6cf93e237
1 changed files with 3 additions and 6 deletions
|
@ -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';
|
||||||
|
|
Loading…
Reference in a new issue