summaryrefslogtreecommitdiffstats
path: root/webapp/components/sidebar_header.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/sidebar_header.jsx')
-rw-r--r--webapp/components/sidebar_header.jsx12
1 files changed, 7 insertions, 5 deletions
diff --git a/webapp/components/sidebar_header.jsx b/webapp/components/sidebar_header.jsx
index 83ed6a5de..493864a6f 100644
--- a/webapp/components/sidebar_header.jsx
+++ b/webapp/components/sidebar_header.jsx
@@ -1,3 +1,5 @@
+import PropTypes from 'prop-types';
+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
@@ -116,9 +118,9 @@ SidebarHeader.defaultProps = {
teamType: ''
};
SidebarHeader.propTypes = {
- teamDisplayName: React.PropTypes.string,
- teamDescription: React.PropTypes.string,
- teamName: React.PropTypes.string,
- teamType: React.PropTypes.string,
- currentUser: React.PropTypes.object
+ teamDisplayName: PropTypes.string,
+ teamDescription: PropTypes.string,
+ teamName: PropTypes.string,
+ teamType: PropTypes.string,
+ currentUser: PropTypes.object
};