Fixed ESLint errors and warning that could be fixed with eslint --fix

This commit is contained in:
Andrey Okonetchnikov
2016-09-13 15:30:58 +02:00
parent 09841c05e2
commit eb14200643
19 changed files with 48 additions and 48 deletions

View File

@ -21,9 +21,9 @@ export default class AuthenticationPage extends React.Component {
auth = new Authenticator();
}
auth.authenticate({provider: 'github', scope: 'repo'}, (err, data) => {
auth.authenticate({ provider: 'github', scope: 'repo' }, (err, data) => {
if (err) {
this.setState({loginError: err.toString()});
this.setState({ loginError: err.toString() });
return;
}
this.props.onLogin(data);