Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldox committed Jan 30, 2018
1 parent 76348f9 commit 682a54e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/auth/Invite.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export default class Invite extends Component {
label: this.context.intl.formatMessage(messages.emailLabel),
placeholder: this.context.intl.formatMessage(messages.emailLabel),
validators: [email],
}
}
},
},
})],
},
}, this.context.intl);
Expand All @@ -75,8 +75,8 @@ export default class Invite extends Component {
const { intl } = this.context;

const atLeastOneEmailAddress = form.$('invite')
.map(invite => {return invite.$('email').value})
.some(email => email.trim() !== '')
.map(invite => invite.$('email').value)
.some(emailValue => emailValue.trim() !== '');

return (
<div className="auth__container auth__container--signup">
Expand Down

0 comments on commit 682a54e

Please sign in to comment.