mirror of https://github.com/vector-im/riot-web
remove spurious dead code
parent
3fc4aee269
commit
8fd26509ac
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue