aboutsummaryrefslogblamecommitdiffstats
path: root/ui/app/components/selected-account/selected-account.container.js
blob: f9e061d15c6287999fba0755f1cda9bcbefc23d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                           
import { connect } from 'react-redux'
import SelectedAccount from './selected-account.component'

const selectors = require('../../selectors')

const mapStateToProps = state => {
  return {
    selectedAddress: selectors.getSelectedAddress(state),
    selectedIdentity: selectors.getSelectedIdentity(state),
  }
}

export default connect(mapStateToProps)(SelectedAccount)