Merge pull request #677 from MetaMask/i675-LoadingBuy
Show loading indication when selecting ShapeShiftfeature/default_network_editable
commit
2b1a8525d2
@ -1,18 +1,12 @@ |
||||
const inherits = require('util').inherits |
||||
const Component = require('react').Component |
||||
const h = require('react-hyperscript') |
||||
const connect = require('react-redux').connect |
||||
const ReactCSSTransitionGroup = require('react-addons-css-transition-group') |
||||
|
||||
module.exports = connect(mapStateToProps)(LoadingIndicator) |
||||
|
||||
function mapStateToProps (state) { |
||||
return { |
||||
isLoading: state.appState.isLoading, |
||||
} |
||||
} |
||||
|
||||
inherits(LoadingIndicator, Component) |
||||
module.exports = LoadingIndicator |
||||
|
||||
function LoadingIndicator () { |
||||
Component.call(this) |
||||
} |
Loading…
Reference in new issue