summaryrefslogtreecommitdiffstats
path: root/webapp/components/mfa/mfa_controller.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/mfa/mfa_controller.jsx')
-rw-r--r--webapp/components/mfa/mfa_controller.jsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/webapp/components/mfa/mfa_controller.jsx b/webapp/components/mfa/mfa_controller.jsx
index 5c41fdfbb..a3d098abd 100644
--- a/webapp/components/mfa/mfa_controller.jsx
+++ b/webapp/components/mfa/mfa_controller.jsx
@@ -3,6 +3,8 @@
import {emitUserLoggedOutEvent} from 'actions/global_actions.jsx';
+import PropTypes from 'prop-types';
+
import React from 'react';
import {FormattedMessage} from 'react-intl';
import {browserHistory, Link} from 'react-router/es6';
@@ -82,6 +84,6 @@ export default class MFAController extends React.Component {
MFAController.defaultProps = {
};
MFAController.propTypes = {
- location: React.PropTypes.object.isRequired,
- children: React.PropTypes.node
+ location: PropTypes.object.isRequired,
+ children: PropTypes.node
};