Skip to content

Commit

Permalink
clean up login/register
Browse files Browse the repository at this point in the history
  • Loading branch information
echenley committed Sep 14, 2015
1 parent 8f1bf31 commit 94e3112
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
6 changes: 1 addition & 5 deletions src/js/components/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ const Login = React.createClass({
},

render() {
let {
submitted,
email,
password
} = this.state;
let { submitted, email, password } = this.state;
let { errorMessage } = this.props;

let error = errorMessage && (
Expand Down
7 changes: 1 addition & 6 deletions src/js/components/Register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,7 @@ const Register = React.createClass({
},

render() {
let {
submitted,
username,
email,
password
} = this.state;
let { submitted, username, email, password } = this.state;
let { errorMessage } = this.props;

let error = errorMessage && (
Expand Down

0 comments on commit 94e3112

Please sign in to comment.