diff options
author | 2018-01-30 11:45:35 +0100 | |
---|---|---|
committer | 2018-01-30 11:45:35 +0100 | |
commit | 682a54e03ab5a918683d19c77380573ad6c33811 (patch) | |
tree | 13969569c93a9dc80e42562421c9f0cff5d995d5 /src/components | |
parent | Merge branch 'develop' into fix-invite-screen (diff) | |
download | ferdium-app-682a54e03ab5a918683d19c77380573ad6c33811.tar.gz ferdium-app-682a54e03ab5a918683d19c77380573ad6c33811.tar.zst ferdium-app-682a54e03ab5a918683d19c77380573ad6c33811.zip |
fix linting errors
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/auth/Invite.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/auth/Invite.js b/src/components/auth/Invite.js index 3eb1f2765..c6dca3a65 100644 --- a/src/components/auth/Invite.js +++ b/src/components/auth/Invite.js | |||
@@ -54,8 +54,8 @@ export default class Invite extends Component { | |||
54 | label: this.context.intl.formatMessage(messages.emailLabel), | 54 | label: this.context.intl.formatMessage(messages.emailLabel), |
55 | placeholder: this.context.intl.formatMessage(messages.emailLabel), | 55 | placeholder: this.context.intl.formatMessage(messages.emailLabel), |
56 | validators: [email], | 56 | validators: [email], |
57 | } | 57 | }, |
58 | } | 58 | }, |
59 | })], | 59 | })], |
60 | }, | 60 | }, |
61 | }, this.context.intl); | 61 | }, this.context.intl); |
@@ -75,8 +75,8 @@ export default class Invite extends Component { | |||
75 | const { intl } = this.context; | 75 | const { intl } = this.context; |
76 | 76 | ||
77 | const atLeastOneEmailAddress = form.$('invite') | 77 | const atLeastOneEmailAddress = form.$('invite') |
78 | .map(invite => {return invite.$('email').value}) | 78 | .map(invite => invite.$('email').value) |
79 | .some(email => email.trim() !== '') | 79 | .some(emailValue => emailValue.trim() !== ''); |
80 | 80 | ||
81 | return ( | 81 | return ( |
82 | <div className="auth__container auth__container--signup"> | 82 | <div className="auth__container auth__container--signup"> |