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.
16 lines
442 B
16 lines
442 B
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)
|
|
|