1
0
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:
lukebarnard
2017-01-17 18:56:57 +01:00
parent 49f2b9df88
commit 9574a0b663

View File

@@ -66,10 +66,6 @@ module.exports = React.createClass({
},
_renderNameList: function(users) {
if (users.length === 0) {
return null;
}
return this._renderCommaSeparatedList(users, this.props.summaryLength);
},