You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Remove pointless length guard
This commit is contained in:
@@ -66,10 +66,6 @@ module.exports = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_renderNameList: function(users) {
|
_renderNameList: function(users) {
|
||||||
if (users.length === 0) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return this._renderCommaSeparatedList(users, this.props.summaryLength);
|
return this._renderCommaSeparatedList(users, this.props.summaryLength);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user