You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Remove redundant null check
This commit is contained in:
@@ -87,7 +87,6 @@ module.exports = React.createClass({
|
||||
this.refs.textinput.value = this.props.value;
|
||||
}
|
||||
// Create a Fuse instance for fuzzy searching this._userList
|
||||
if (!this._fuse) {
|
||||
this._fuse = new Fuse(
|
||||
// Use an empty list at first that will later be populated
|
||||
// (see this._updateUserList)
|
||||
@@ -100,7 +99,6 @@ module.exports = React.createClass({
|
||||
threshold: 0.3,
|
||||
}
|
||||
);
|
||||
}
|
||||
this._updateUserList();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user