diff --git a/src/components/views/elements/AppTile.js b/src/components/views/elements/AppTile.js index d92fcf580f..6f4c931ab7 100644 --- a/src/components/views/elements/AppTile.js +++ b/src/components/views/elements/AppTile.js @@ -16,8 +16,9 @@ limitations under the License. 'use strict'; -const React = require('react'); -const MatrixClientPeg = require('../../../MatrixClientPeg'); +import React from 'react'; +import MatrixClientPeg from '../../../MatrixClientPeg'; +import { _t } from '../../../languageHandler'; export default React.createClass({ displayName: 'AppTile', diff --git a/src/components/views/rooms/AppsDrawer.js b/src/components/views/rooms/AppsDrawer.js index 92902a0225..6545ac1ce5 100644 --- a/src/components/views/rooms/AppsDrawer.js +++ b/src/components/views/rooms/AppsDrawer.js @@ -165,7 +165,7 @@ module.exports = React.createClass({ }); } this.setState({ - apps: this.apps, + apps: apps, }); },