summaryrefslogtreecommitdiff
path: root/web-ui/src/common
diff options
context:
space:
mode:
authorTayane Fernandes <tayane.rmf@gmail.com>2017-03-10 15:25:43 -0300
committerTayane Fernandes <tayane.rmf@gmail.com>2017-03-10 15:25:43 -0300
commit9e5dce775c51b44cf7b17d8ab564fdefc16a06c0 (patch)
treeb7db13a1d2dda9319e157f3ac222aaa620aa3972 /web-ui/src/common
parent29a59d4ec216a895c8004fc0addbec1b329df200 (diff)
[#923] Fix the submit button when the email is empty
When the email is empty the button should be disabled, but we should not see any error message with @FrailWords
Diffstat (limited to 'web-ui/src/common')
-rw-r--r--web-ui/src/common/submit_button/submit_button.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/web-ui/src/common/submit_button/submit_button.js b/web-ui/src/common/submit_button/submit_button.js
index 73f9b21c..1224c7bd 100644
--- a/web-ui/src/common/submit_button/submit_button.js
+++ b/web-ui/src/common/submit_button/submit_button.js
@@ -30,9 +30,10 @@ const buttonStyle = {
height: '48px'
};
-const SubmitButton = ({ buttonText, disabled=false }) => (
+const SubmitButton = ({ buttonText, disabled = false }) => (
<div className='submit-button'>
- <RaisedButton type='submit'
+ <RaisedButton
+ type='submit'
label={buttonText}
disabled={disabled}
labelStyle={labelStyle}