blob: d53c0ae4dd4122aa972f7dbc327c260cf6e3b0a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { connect } from 'react-redux'
import ProviderApproval from './provider-approval.component'
import { approveProviderRequest, rejectProviderRequest } from '../../store/actions'
function mapDispatchToProps (dispatch) {
return {
approveProviderRequest: tabID => dispatch(approveProviderRequest(tabID)),
rejectProviderRequest: tabID => dispatch(rejectProviderRequest(tabID)),
}
}
export default connect(null, mapDispatchToProps)(ProviderApproval)
|