summaryrefslogtreecommitdiffstats
path: root/webapp/components/authorize.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/authorize.jsx')
-rw-r--r--webapp/components/authorize.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/webapp/components/authorize.jsx b/webapp/components/authorize.jsx
index f4d80b1f0..ec8bc5a06 100644
--- a/webapp/components/authorize.jsx
+++ b/webapp/components/authorize.jsx
@@ -4,6 +4,7 @@
import FormError from 'components/form_error.jsx';
import {FormattedMessage, FormattedHTMLMessage} from 'react-intl';
+import PropTypes from 'prop-types';
import React from 'react';
import icon50 from 'images/icon50x50.png';
@@ -13,8 +14,8 @@ import {getOAuthAppInfo, allowOAuth2} from 'actions/admin_actions.jsx';
export default class Authorize extends React.Component {
static get propTypes() {
return {
- location: React.PropTypes.object.isRequired,
- params: React.PropTypes.object.isRequired
+ location: PropTypes.object.isRequired,
+ params: PropTypes.object.isRequired
};
}