Sha256: a293689f8529204b4ebae4605dfe93719d9f7eb4d0dc1f2fe936708cd6a30834
Contents?: true
Size: 650 Bytes
Versions: 22
Compression:
Stored size: 650 Bytes
Contents
import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import * as actions from './IpsObfuscationSwitcherActions'; import IpsObfuscationSwitcher from './IpsObfuscationSwitcher'; import { selectIpsObfuscationEnabled } from '../AccountList/AccountListSelectors'; // map state to props const mapStateToProps = state => ({ ipsObfuscationEnabled: selectIpsObfuscationEnabled(state), }); // map action dispatchers to props const mapDispatchToProps = dispatch => bindActionCreators(actions, dispatch); // export connected component export default connect( mapStateToProps, mapDispatchToProps )(IpsObfuscationSwitcher);
Version data entries
22 entries across 22 versions & 1 rubygems