diff options
Diffstat (limited to 'webapp/components/admin_console/ldap_test_button.jsx')
-rw-r--r-- | webapp/components/admin_console/ldap_test_button.jsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/webapp/components/admin_console/ldap_test_button.jsx b/webapp/components/admin_console/ldap_test_button.jsx index 2a3559d25..e785d0f78 100644 --- a/webapp/components/admin_console/ldap_test_button.jsx +++ b/webapp/components/admin_console/ldap_test_button.jsx @@ -1,3 +1,5 @@ +import PropTypes from 'prop-types'; + // Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. @@ -12,9 +14,9 @@ import {ldapTest} from 'actions/admin_actions.jsx'; export default class LdapTestButton extends React.Component { static get propTypes() { return { - disabled: React.PropTypes.bool, - submitFunction: React.PropTypes.func, - saveNeeded: React.PropTypes.bool + disabled: PropTypes.bool, + submitFunction: PropTypes.func, + saveNeeded: PropTypes.bool }; } constructor(props) { |