mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Revert "fix stupid typos in RoomList's shouldComponentUpdate"
This reverts commit b0288ebd89
.
This commit is contained in:
parent
714cd6a10f
commit
b063c605a8
1 changed files with 3 additions and 3 deletions
|
@ -44,9 +44,9 @@ module.exports = React.createClass({
|
||||||
shouldComponentUpdate: function(nextProps, nextState) {
|
shouldComponentUpdate: function(nextProps, nextState) {
|
||||||
if (nextProps.collapsed !== this.props.collapsed) return true;
|
if (nextProps.collapsed !== this.props.collapsed) return true;
|
||||||
if (nextProps.searchFilter !== this.props.searchFilter) return true;
|
if (nextProps.searchFilter !== this.props.searchFilter) return true;
|
||||||
if (nextState.lists !== this.state.lists ||
|
if (nextState.lists !== this.props.lists ||
|
||||||
nextState.isLoadingLeftRooms !== this.state.isLoadingLeftRooms ||
|
nextState.isLoadingLeftRooms !== this.isLoadingLeftRooms ||
|
||||||
nextState.incomingCall !== this.state.incomingCall) return true;
|
nextState.incomingCall !== this.incomingCall) return true;
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue