Merge pull request #4314 from matrix-org/travis/react-warnings/2-code-quality
Fix a number of minor code quality issues
This commit is contained in:
commit
0fcbe40bec
11 changed files with 12 additions and 18 deletions
|
@ -158,7 +158,7 @@ const Pill = createReactClass({
|
|||
componentDidMount() {
|
||||
this._unmounted = false;
|
||||
this._matrixClient = MatrixClientPeg.get();
|
||||
this.componentWillReceiveProps(this.props);
|
||||
this.componentWillReceiveProps(this.props); // HACK: We shouldn't be calling lifecycle functions ourselves.
|
||||
},
|
||||
|
||||
componentWillUnmount() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue