From 648204b6f9d6a4bada143e045a5af50e305c675f Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Tue, 7 Feb 2017 11:34:34 +0000 Subject: [PATCH] Use import --- src/components/structures/HomePage.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js index a7dd3d05..f11dbcea 100644 --- a/src/components/structures/HomePage.js +++ b/src/components/structures/HomePage.js @@ -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',