blob: 1f1d68da7f052e118c4abd32c19c66ab1d983a66 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
import PropTypes from 'prop-types'
import React, { Component } from 'react'
import ProviderPageContainer from '../../components/app/provider-page-container'
export default class ProviderApproval extends Component {
static propTypes = {
approveProviderRequest: PropTypes.func.isRequired,
providerRequest: PropTypes.object.isRequired,
rejectProviderRequest: PropTypes.func.isRequired,
};
static contextTypes = {
t: PropTypes.func,
};
render () {
const { approveProviderRequest, providerRequest, rejectProviderRequest } = this.props
return (
<ProviderPageContainer
approveProviderRequest={approveProviderRequest}
origin={providerRequest.origin}
tabID={providerRequest.tabID}
rejectProviderRequest={rejectProviderRequest}
siteImage={providerRequest.siteImage}
siteTitle={providerRequest.siteTitle}
/>
)
}
}
|