diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-06-22 04:18:32 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-06-22 04:18:32 +0800 |
commit | a08c3bc01b11fbd0e3a243359befbe9fc909edf4 (patch) | |
tree | b79b7324139945c429ca4b6c74715d8040fdf4e1 /ui/app/loading.js | |
parent | f7f8f8b1c50be39db22a7b10c6c6db007fe590aa (diff) | |
download | dexon-wallet-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.tar.gz dexon-wallet-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.tar.zst dexon-wallet-a08c3bc01b11fbd0e3a243359befbe9fc909edf4.zip |
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 f6279d5c..f65f58ad 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', |