Remove redundant lines

This commit is contained in:
Luke Barnard 2016-11-10 18:01:34 +00:00
parent 3d7f6919cf
commit d3a548773a

View file

@ -71,10 +71,6 @@ module.exports = React.createClass({
return this._getEventSenderName(ev);
}).join(', ');
if (names.length === 0) {
return this._getEventSenderName(lastEvent);
}
let lastName = this._getEventSenderName(lastEvent);
if (names.length === 0) {
// special-case for a single event