diff --git a/src/components/views/rooms/WhoIsTypingTile.js b/src/components/views/rooms/WhoIsTypingTile.js index 43dfa5e30e..9d49c35d83 100644 --- a/src/components/views/rooms/WhoIsTypingTile.js +++ b/src/components/views/rooms/WhoIsTypingTile.js @@ -17,7 +17,6 @@ limitations under the License. import React from 'react'; import PropTypes from 'prop-types'; -import { _t, _td } from '../../../languageHandler'; import sdk from '../../../index'; import WhoIsTyping from '../../../WhoIsTyping'; import MatrixClientPeg from '../../../MatrixClientPeg'; @@ -54,8 +53,8 @@ module.exports = React.createClass({ componentDidUpdate: function(_, prevState) { if (this.props.onVisible && !prevState.usersTyping.length && - this.state.usersTyping.length) - { + this.state.usersTyping.length + ) { this.props.onVisible(); } },