Remove redundant null check
This commit is contained in:
parent
439bde309e
commit
b822bc66ee
1 changed files with 12 additions and 14 deletions
|
@ -87,7 +87,6 @@ module.exports = React.createClass({
|
||||||
this.refs.textinput.value = this.props.value;
|
this.refs.textinput.value = this.props.value;
|
||||||
}
|
}
|
||||||
// Create a Fuse instance for fuzzy searching this._userList
|
// Create a Fuse instance for fuzzy searching this._userList
|
||||||
if (!this._fuse) {
|
|
||||||
this._fuse = new Fuse(
|
this._fuse = new Fuse(
|
||||||
// Use an empty list at first that will later be populated
|
// Use an empty list at first that will later be populated
|
||||||
// (see this._updateUserList)
|
// (see this._updateUserList)
|
||||||
|
@ -100,7 +99,6 @@ module.exports = React.createClass({
|
||||||
threshold: 0.3,
|
threshold: 0.3,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
|
||||||
this._updateUserList();
|
this._updateUserList();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue