summaryrefslogtreecommitdiff
path: root/app/client/auth/signup.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/auth/signup.component.js')
-rw-r--r--app/client/auth/signup.component.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/client/auth/signup.component.js b/app/client/auth/signup.component.js
index e54084b..6f9cdaf 100644
--- a/app/client/auth/signup.component.js
+++ b/app/client/auth/signup.component.js
@@ -30,7 +30,8 @@ class Signup extends Component {
}
handleSubmit(e) {
e.preventDefault()
- if (!this.validate) {
+ if (this.props.auth.loading) return
+ if (!this.validate()) {
return this.props.actions.setError('bad password')
}
let { ...user } = this.state
@@ -81,10 +82,10 @@ class Signup extends Component {
renderAuthError(){
if (this.props.auth.error) {
return (
- <div className='form-input-hint'>{"Please doublecheck the form"}</div>
+ <div className='form-input-hint'>{"Please doublecheck the form (o=_o~~)"}</div>
)
}
- return null
+ return <div className='form-input-hint'></div>
}
}