aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/user-preferenced-token-input/user-preferenced-token-input.container.js
blob: 3305d4e29579d38f37bc581e605fb6438b0d7415 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { connect } from 'react-redux'
import UserPreferencedTokenInput from './user-preferenced-token-input.component'
import { preferencesSelector } from '../../selectors'

const mapStateToProps = state => {
  const { useNativeCurrencyAsPrimaryCurrency } = preferencesSelector(state)

  return {
    useNativeCurrencyAsPrimaryCurrency,
  }
}

export default connect(mapStateToProps)(UserPreferencedTokenInput)