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)