| 1 |
function withDispatchGateways ( dispatch ){ |
| 2 |
const store = dispatch( 'jet-forms/gateways' ); |
| 3 |
|
| 4 |
return { |
| 5 |
setGatewayRequest: store.setRequest, |
| 6 |
setGatewayScenario: store.setScenario, |
| 7 |
setScenario: store.setCurrentScenario, |
| 8 |
setGateway: store.setGateway, |
| 9 |
setGatewayInner: store.setGatewayInner, |
| 10 |
setGatewaySpecific: store.setGatewaySpecific, |
| 11 |
clearGateway: store.clearGateway, |
| 12 |
clearScenario: store.clearScenario, |
| 13 |
}; |
| 14 |
} |
| 15 |
|
| 16 |
export default withDispatchGateways; |