You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
906 B
30 lines
906 B
6 years ago
|
import PropTypes from 'prop-types'
|
||
|
import React, { Component } from 'react'
|
||
6 years ago
|
import ProviderPageContainer from '../../components/app/provider-page-container'
|
||
6 years ago
|
|
||
|
export default class ProviderApproval extends Component {
|
||
|
static propTypes = {
|
||
6 years ago
|
approveProviderRequest: PropTypes.func.isRequired,
|
||
|
providerRequest: PropTypes.object.isRequired,
|
||
|
rejectProviderRequest: PropTypes.func.isRequired,
|
||
6 years ago
|
};
|
||
|
|
||
|
static contextTypes = {
|
||
|
t: PropTypes.func,
|
||
|
};
|
||
|
|
||
|
render () {
|
||
6 years ago
|
const { approveProviderRequest, providerRequest, rejectProviderRequest } = this.props
|
||
6 years ago
|
return (
|
||
6 years ago
|
<ProviderPageContainer
|
||
|
approveProviderRequest={approveProviderRequest}
|
||
|
origin={providerRequest.origin}
|
||
6 years ago
|
tabID={providerRequest.tabID}
|
||
6 years ago
|
rejectProviderRequest={rejectProviderRequest}
|
||
|
siteImage={providerRequest.siteImage}
|
||
|
siteTitle={providerRequest.siteTitle}
|
||
|
/>
|
||
6 years ago
|
)
|
||
|
}
|
||
|
}
|