aboutsummaryrefslogblamecommitdiffstats
path: root/ui/app/components/token-balance/token-balance.container.js
blob: adc001f8319afb148983ec40a4c6c492b66a2e63 (plain) (tree)
1
2
3
4
5

                                     
                                                                               
                                                    
                                       










                                                     
import { connect } from 'react-redux'
import { compose } from 'recompose'
import withTokenTracker from '../../higher-order-components/with-token-tracker'
import TokenBalance from './token-balance.component'
import selectors from '../../selectors'

const mapStateToProps = state => {
  return {
    userAddress: selectors.getSelectedAddress(state),
  }
}

export default compose(
  connect(mapStateToProps),
  withTokenTracker
)(TokenBalance)