diff options
Diffstat (limited to 'webapp/components/password_reset_form.jsx')
-rw-r--r-- | webapp/components/password_reset_form.jsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webapp/components/password_reset_form.jsx b/webapp/components/password_reset_form.jsx index 546dce1b3..5b77cb3e6 100644 --- a/webapp/components/password_reset_form.jsx +++ b/webapp/components/password_reset_form.jsx @@ -9,6 +9,8 @@ import {FormattedMessage} from 'react-intl'; import {resetPassword} from 'actions/user_actions.jsx'; +import PropTypes from 'prop-types'; + import React from 'react'; class PasswordResetForm extends React.Component { @@ -122,8 +124,8 @@ class PasswordResetForm extends React.Component { PasswordResetForm.defaultProps = { }; PasswordResetForm.propTypes = { - params: React.PropTypes.object.isRequired, - location: React.PropTypes.object.isRequired + params: PropTypes.object.isRequired, + location: PropTypes.object.isRequired }; export default PasswordResetForm; |