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.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var React = require('react');
|
||||
|
||||
var MatrixClientPeg = require("../../../MatrixClientPeg");
|
||||
var ContentRepo = require("matrix-js-sdk").ContentRepo;
|
||||
import React from 'react';
|
||||
import MatrixClientPeg from '../../../MatrixClientPeg';
|
||||
import { ContentRepo } from 'matrix-js-sdk';
|
||||
import { _t, _tJsx } from '../../../languageHandler';
|
||||
import sdk from '../../../index';
|
||||
import Modal from '../../../Modal';
|
||||
|
|
Loading…
Reference in a new issue