mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-29 15:21:29 +01:00
fix lint
This commit is contained in:
parent
ffc73c59b4
commit
ece549bf71
@ -17,7 +17,6 @@ limitations under the License.
|
|||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { _t, _td } from '../../../languageHandler';
|
|
||||||
import sdk from '../../../index';
|
import sdk from '../../../index';
|
||||||
import WhoIsTyping from '../../../WhoIsTyping';
|
import WhoIsTyping from '../../../WhoIsTyping';
|
||||||
import MatrixClientPeg from '../../../MatrixClientPeg';
|
import MatrixClientPeg from '../../../MatrixClientPeg';
|
||||||
@ -54,8 +53,8 @@ module.exports = React.createClass({
|
|||||||
componentDidUpdate: function(_, prevState) {
|
componentDidUpdate: function(_, prevState) {
|
||||||
if (this.props.onVisible &&
|
if (this.props.onVisible &&
|
||||||
!prevState.usersTyping.length &&
|
!prevState.usersTyping.length &&
|
||||||
this.state.usersTyping.length)
|
this.state.usersTyping.length
|
||||||
{
|
) {
|
||||||
this.props.onVisible();
|
this.props.onVisible();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user