diff --git a/gulpfile.js b/gulpfile.js index bf9dd46d..424796da 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -45,7 +45,7 @@ gulp.task('build', function() { bundle(false); }); -gulp.task('serve', ['browser-sync', 'lint:watch', 'sass', 'sass:watch', 'copy'], function() { +gulp.task('serve', ['browser-sync', 'sass', 'sass:watch', 'copy'], function() { bundle(true); }); diff --git a/js/components/ascribe_buttons/button_submit_close.js b/js/components/ascribe_buttons/button_submit_close.js index d1939e35..2d70fb03 100644 --- a/js/components/ascribe_buttons/button_submit_close.js +++ b/js/components/ascribe_buttons/button_submit_close.js @@ -14,7 +14,7 @@ let ButtonSubmitOrClose = React.createClass({
{this.state.value}; + } + let alerts = (this.props.submitted) ? null : this.state.alerts; + return ( +