diff options
Auto linted
Diffstat (limited to 'ui/app/loading.js')
-rw-r--r-- | ui/app/loading.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/loading.js b/ui/app/loading.js index f6279d5cf..f65f58ade 100644 --- a/ui/app/loading.js +++ b/ui/app/loading.js @@ -7,18 +7,18 @@ const ReactCSSTransitionGroup = require('react-addons-css-transition-group') module.exports = connect(mapStateToProps)(LoadingIndicator) -function mapStateToProps(state) { +function mapStateToProps (state) { return { isLoading: state.appState.isLoading, } } inherits(LoadingIndicator, Component) -function LoadingIndicator() { +function LoadingIndicator () { Component.call(this) } -LoadingIndicator.prototype.render = function() { +LoadingIndicator.prototype.render = function () { var isLoading = this.props.isLoading return ( @@ -38,7 +38,7 @@ LoadingIndicator.prototype.render = function() { height: '100%', width: '100%', background: 'rgba(255, 255, 255, 0.5)', - } + }, }, [ h('img', { src: 'images/loading.svg', |