Sha256: 0c44a3f5b21d915d495931b666fb790b791a27772ee31a9e31a6d5ed2aa9b6f8
Contents?: true
Size: 755 Bytes
Versions: 12
Compression:
Stored size: 755 Bytes
Contents
import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import './ExistingHostSelection.scss'; import ExistingHostSelection from './ExistingHostSelection'; import * as ExistingHostSelectionActions from './ExistingHostSelectionActions'; import { selectServiceId, selectAvailableHosts, selectAlreadyUsedHosts, } from './ExistingHostSelectionSelectors'; const mapStateToProps = state => ({ serviceId: selectServiceId(state), availableHosts: selectAvailableHosts(state), alreadyUsedHosts: selectAlreadyUsedHosts(state), }); const mapDispatchToProps = dispatch => bindActionCreators(ExistingHostSelectionActions, dispatch); export default connect( mapStateToProps, mapDispatchToProps )(ExistingHostSelection);
Version data entries
12 entries across 12 versions & 1 rubygems