You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
438 B
17 lines
438 B
7 years ago
|
import { connect } from 'react-redux'
|
||
|
import { compose } from 'recompose'
|
||
|
import withTokenTracker from '../../../../helpers/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)
|