Sha256: 57265149f4c9980fee4b84fe75a793bb7ec2cf25b8d296a0f0aa5840881f06cd

Contents?: true

Size: 515 Bytes

Versions: 3

Compression:

Stored size: 515 Bytes

Contents

import {bindActionCreators} from 'redux'
import {connect} from 'react-redux'
import layout from './layout'
import * as ProductActions from '../../../../actions/ProductActions'

function mapStateToProps(state) {
  return {
    products: state.product.products,
    order: state.product.order,
    snackbar_active: state.product.snackbar_active
  }
}

function mapDispatchToProps(dispatch) {
  return bindActionCreators(ProductActions, dispatch)
}

export default connect(mapStateToProps, mapDispatchToProps)(layout)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bouquet-0.2.2 store/private/static/app/components/layouts/contents/product/index.js
bouquet-0.2.1 store/private/static/app/components/layouts/contents/product/index.js
bouquet-0.2.0 store/private/static/app/components/layouts/contents/product/index.js