diff options
Diffstat (limited to 'app/assets/javascripts/components/features/follow_requests/components/account_authorize.jsx')
-rw-r--r-- | app/assets/javascripts/components/features/follow_requests/components/account_authorize.jsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/components/features/follow_requests/components/account_authorize.jsx b/app/assets/javascripts/components/features/follow_requests/components/account_authorize.jsx index 1939eba65..a194d2b27 100644 --- a/app/assets/javascripts/components/features/follow_requests/components/account_authorize.jsx +++ b/app/assets/javascripts/components/features/follow_requests/components/account_authorize.jsx @@ -1,3 +1,4 @@ +import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Permalink from '../../../components/permalink'; import Avatar from '../../../components/avatar'; @@ -50,9 +51,9 @@ const AccountAuthorize = ({ intl, account, onAuthorize, onReject }) => { AccountAuthorize.propTypes = { account: ImmutablePropTypes.map.isRequired, - onAuthorize: React.PropTypes.func.isRequired, - onReject: React.PropTypes.func.isRequired, - intl: React.PropTypes.object.isRequired + onAuthorize: PropTypes.func.isRequired, + onReject: PropTypes.func.isRequired, + intl: PropTypes.object.isRequired }; export default injectIntl(AccountAuthorize); |