blob: 1e167ddb75420eabf0052a203f1af7c62f58a69c (
plain) (
tree)
|
|
import { connect } from 'react-redux'
import ProviderApproval from './provider-approval.component'
import { approveProviderRequestByOrigin, rejectProviderRequestByOrigin } from '../../store/actions'
function mapDispatchToProps (dispatch) {
return {
approveProviderRequestByOrigin: origin => dispatch(approveProviderRequestByOrigin(origin)),
rejectProviderRequestByOrigin: origin => dispatch(rejectProviderRequestByOrigin(origin)),
}
}
export default connect(null, mapDispatchToProps)(ProviderApproval)
|