This commit is contained in:
Cassie Tarakajian 2016-11-04 17:31:04 -04:00
parent 33c7c0ec8f
commit dd01aeb599
2 changed files with 0 additions and 4 deletions

View file

@ -18,8 +18,6 @@ class NewPasswordView extends React.Component {
'new-password': true, 'new-password': true,
'new-password--invalid': this.props.user.resetPasswordInvalid 'new-password--invalid': this.props.user.resetPasswordInvalid
}); });
console.log(this.props.user);
console.log('rerendering!!');
return ( return (
<div className={newPasswordClass} ref="newPassword" tabIndex="0"> <div className={newPasswordClass} ref="newPassword" tabIndex="0">
<h1>Set a New Password</h1> <h1>Set a New Password</h1>

View file

@ -39,8 +39,6 @@ class SketchList extends React.Component {
<tr className="sketches-table__row visibility-toggle" key={sketch.id}> <tr className="sketches-table__row visibility-toggle" key={sketch.id}>
<td> <td>
{(() => { // eslint-disable-line {(() => { // eslint-disable-line
console.log(this.props.username);
console.log(this.props.user.username);
if (this.props.username === this.props.user.username || this.props.username === undefined) { if (this.props.username === this.props.user.username || this.props.username === undefined) {
return ( return (
<button <button