1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-13 05:07:12 +01:00
metamask-extension/ui/app/components/pages/confirm-add-token/token-balance/token-balance.container.js

17 lines
438 B
JavaScript
Raw Normal View History

2018-05-20 08:04:19 +02:00
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)