remove spurious console.logs

This commit is contained in:
Matthew Hodgson 2015-07-24 11:17:45 +02:00
parent 65cf8f030c
commit a24d7a9bce

View file

@ -70,7 +70,6 @@ module.exports = React.createClass({
onClickInvite: function(ev) { onClickInvite: function(ev) {
this.setState({ editing: true }); this.setState({ editing: true });
this.refs.invite.onClickDiv(); this.refs.invite.onClickDiv();
console.log("forcing update on memberlist after having clicked invite");
ev.stopPropagation(); ev.stopPropagation();
ev.preventDefault(); ev.preventDefault();
}, },
@ -87,8 +86,6 @@ module.exports = React.createClass({
mx_MemberTile_inviteEditing: this.state.editing, mx_MemberTile_inviteEditing: this.state.editing,
}); });
console.log("rendering inviteTile, with phase as " + (this.refs.invite ? this.refs.invite.state.phase : "unknown"));
return ( return (
<div className={ classes } onClick={ this.onClickInvite } > <div className={ classes } onClick={ this.onClickInvite } >
<div className="mx_MemberTile_avatar"><img src="img/create-big.png" width="40" height="40" alt=""/></div> <div className="mx_MemberTile_avatar"><img src="img/create-big.png" width="40" height="40" alt=""/></div>