blob: fa0a325c35caba709606f6699114ac3ecfb12547 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { connect } from 'react-redux'
import { compose } from 'recompose'
import withModalProps from '../../../higher-order-components/with-modal-props'
import ForceInjectionComponent from './force-injection.component'
import { forceInjection } from '../../../actions'
const mapDispatchToProps = dispatch => {
return {
forceInjection: () => dispatch(forceInjection()),
}
}
export default compose(
withModalProps,
connect(null, mapDispatchToProps)
)(ForceInjectionComponent)
|