Sha256: f7d6375727db27e2030434eb07cf16c202d7310eecd84aafb008559618f4c988

Contents?: true

Size: 523 Bytes

Versions: 3

Compression:

Stored size: 523 Bytes

Contents

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

function mapStateToProps(state) {
  return {
    materials: state.material.materials,
    order: state.material.order,
    snackbar_active: state.material.snackbar_active
  }
}

function mapDispatchToProps(dispatch) {
  return bindActionCreators(MaterialActions, 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/material/index.js
bouquet-0.2.1 store/private/static/app/components/layouts/contents/material/index.js
bouquet-0.2.0 store/private/static/app/components/layouts/contents/material/index.js