summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/sync_now_button.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/admin_console/sync_now_button.jsx')
-rw-r--r--webapp/components/admin_console/sync_now_button.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/admin_console/sync_now_button.jsx b/webapp/components/admin_console/sync_now_button.jsx
index 6c0c10f62..b2a5a001d 100644
--- a/webapp/components/admin_console/sync_now_button.jsx
+++ b/webapp/components/admin_console/sync_now_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,7 +14,7 @@ import {ldapSyncNow} from 'actions/admin_actions.jsx';
export default class SyncNowButton extends React.Component {
static get propTypes() {
return {
- disabled: React.PropTypes.bool
+ disabled: PropTypes.bool
};
}
constructor(props) {