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
442 B
17 lines
442 B
7 years ago
|
import { connect } from 'react-redux'
|
||
|
import { compose } from 'recompose'
|
||
6 years ago
|
import withTokenTracker from '../../higher-order-components/with-token-tracker'
|
||
7 years ago
|
import TokenBalance from './token-balance.component'
|
||
6 years ago
|
import selectors from '../../selectors'
|
||
7 years ago
|
|
||
|
const mapStateToProps = state => {
|
||
|
return {
|
||
|
userAddress: selectors.getSelectedAddress(state),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default compose(
|
||
|
connect(mapStateToProps),
|
||
|
withTokenTracker
|
||
|
)(TokenBalance)
|