remove spurious dead code

This commit is contained in:
Matthew Hodgson 2015-08-12 00:41:20 +01:00
parent 3fc4aee269
commit 8fd26509ac

View file

@ -58,11 +58,6 @@ module.exports = React.createClass({
}, },
render: function() { render: function() {
var power;
if (this.props.member) {
var img = "img/p/p" + Math.floor(20 * this.props.member.powerLevelNorm / 100) + ".png";
power = <img src={ img } className="mx_MemberTile_power" width="48" height="48" alt=""/>;
}
var activeAgo = "unknown"; var activeAgo = "unknown";
if (this.state.active >= 0) { if (this.state.active >= 0) {
activeAgo = this.getDuration(this.state.active); activeAgo = this.getDuration(this.state.active);