aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/pages/provider-approval/provider-approval.container.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/pages/provider-approval/provider-approval.container.js')
-rw-r--r--ui/app/pages/provider-approval/provider-approval.container.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/app/pages/provider-approval/provider-approval.container.js b/ui/app/pages/provider-approval/provider-approval.container.js
new file mode 100644
index 000000000..d53c0ae4d
--- /dev/null
+++ b/ui/app/pages/provider-approval/provider-approval.container.js
@@ -0,0 +1,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)