Use import

pull/3103/head
Luke Barnard 2017-02-07 11:34:34 +00:00
parent 3f49f020cf
commit 648204b6f9
1 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,9 @@ limitations under the License.
'use strict';
var React = require("react");
var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg');
var sdk = require('matrix-react-sdk');
import React from 'react';
import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg';
import sdk from 'matrix-react-sdk';
module.exports = React.createClass({
displayName: 'HomePage',